.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.stat-card.dark {
    background: #000;
    color: #fff;
}

.stat-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.icon-wrap.white { background: #fff; }
.icon-wrap.green { background: #dcfce7; color: #16a34a; }
.icon-wrap.orange { background: #ffedd5; color: #ea580c; }
.icon-wrap.red { background: #fee2e2; color: #dc2626; }

.icon {
    width: 22px;
    height: 22px;
}

/* Card Containers */
.card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-group button {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 13px;
}

.filter-group .active {
    background: #111827;
    color: #fff;
}

/* Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table thead {
    background: #f9fafb;
}

.custom-table th,
.custom-table td {
    padding: 14px;
    text-align: left;
    font-size: 13px;
}

.custom-table tbody tr {
    border-top: 1px solid #e5e7eb;
}

/* Status Badges */
.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.badge.processing {
    background: #ffedd5;
    color: #ea580c;
}

.badge.delivered {
    background: #dcfce7;
    color: #16a34a;
}

.badge.shipped {
    background: #dbeafe;
    color: #2563eb;
}

.badge.cancelled {
    background: #fee2e2;
    color: #dc2626;
}

* {
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
}

.orders-container {
    padding: 25px;
    background: #ffffff;
}

/* ===== HEADER ===== */
.orders-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.orders-title-bar h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .08em;
    color: #111;
}

.export-btn {
    background: #111;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

/* ===== FILTER BAR ===== */
.orders-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.input-box {
    background: #f6f6f6;
    border-radius: 10px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
}

.input-box input,
.input-box select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    width: 100%;
}

.input-box.search {
    width: 340px;
}

.input-box.date {
    width: 180px;
}

.input-box.select {
    width: 180px;
}

/* ===== ORDERS CARD ===== */
.orders-card {
    background: #fafafa;
    border-radius: 12px;
    padding: 18px;
}

/* ===== SECTION HEADER ===== */
.orders-section-header {
    margin-bottom: 12px;
}

.orders-section-header h3 {
    font-size: 15px;
    font-weight: 600;
}

.order-tabs {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.tab {
    background: #f0f0f0;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #888;
}

.tab.active {
    background: #fff;
    border: 1px solid #111;
    color: #111;
}

/* ===== TABLE ===== */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.orders-table thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 10px;
    border-bottom: 1px solid #e5e5e5;
}

.orders-table tbody td {
    padding: 16px 10px;
    font-size: 13px;
    color: #777;
    border-bottom: 1px solid #ededed;
}

/* ===== STATUS BADGES ===== */
.status {
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status.processing {
    background: #fde7d3;
    color: #f97316;
}

.status.new {
    background: #dbeafe;
    color: #2563eb;
}

.status.delivered {
    background: #dff2e6;
    color: #16a34a;
}

.status.shipped {
    background: #eeeeee;
    color: #111;
}

.status.cancelled {
    background: #fde2e2;
    color: #ef4444;
}

/* ===== PAGINATION ===== */
.pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
}

.rows {
    font-size: 12px;
    color: #777;
}

.pages span {
    font-size: 13px;
    padding: 6px 10px;
    margin-left: 6px;
    border-radius: 6px;
    cursor: pointer;
}

.pages .active {
    background: #111;
    color: #fff;
}
.order_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order_id_text {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.order_badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: 10px;
}

.order_action_btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.reject_btn {
    background: #ef4444;
    color: #fff;
}

.accept_btn {
    background: #111;
    color: #fff;
}

/* STATUS TRACKER */
.status_tracker {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.status_item {
    text-align: center;
    width: 100%;
    position: relative;
}

.status_circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 18px;
}

.status_item.active .status_circle {
    background: #16a34a;
    color: #fff;
}

.status_label {
    font-size: 13px;
    margin-top: 6px;
    color: #6b7280;
}

.status_item.active .status_label {
    color: #15803d;
}

.status_line {
    height: 2px;
    background: #e5e7eb;
    flex: 1;
    margin-top: -22px;
}

.status_line.active {
    background: #16a34a;
}

/* PRODUCT CARDS */
.item_card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.item_img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
}

/* INFO BOX */
.info_box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

/* CUSTOMER NOTE */
.customer_note {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #fafafa;
}
/* Wrapper */
.coverage-wrapper {
    background: #ffffff;
    min-height: 100vh;
}

/* Container */
.coverage-container {
    max-width: 72rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Top Bar */
.coverage-top-bar {
    padding-top: 1rem;
}

.btn-add-area {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s;
}

/* Search */
.input-search {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 2.5rem;
    color: #374151;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.clear-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* Filters */
.coverage-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .coverage-filters {
        flex-direction: row;
    }
}

.filter-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #6b7280;
}

/* Header */
.coverage-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.coverage-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* List */
.coverage-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Card */
.coverage-card {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.coverage-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
    .coverage-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Left Section */
.coverage-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.location-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #374151;
}

.area-name {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
}

/* Badges */
.badge-active {
    font-size: 0.75rem;
    background: #E6F7F0;
    color: #008A5A;
    padding: 0.125rem 0.6rem;
    border-radius: 0.35rem;
    font-weight: 500;
}

.badge-inactive {
    font-size: 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.125rem 0.6rem;
    border-radius: 0.35rem;
    font-weight: 500;
}

/* Toggle */
.toggle-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2937;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    transition: 0.25s;
}

.switch-on {
    background: #000;
}

.switch-off {
    background: #e5e7eb;
}

.toggle-handle {
    position: absolute;
    width: 1rem;
    height: 1rem;
    background: #ffffff;
    border-radius: 9999px;
    transition: 0.25s;
}

.handle-on {
    transform: translateX(1.25rem);
}

.handle-off {
    transform: translateX(0.25rem);
}
.opening-row {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}

.opening-row:last-child {
    border-bottom: none;
}

.day-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.day-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.add-shift-btn {
    font-size: 12px;
    color: #f97316;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.time-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-input {
    width: 120px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 0 10px;
    font-size: 13px;
    background-color: #fff;
}

.time-separator {
    font-size: 12px;
    color: #9ca3af;
}

.delete-shift-btn {
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
}

.toggle-column {
    display: flex;
    justify-content: flex-end;
}

/* Toggle Switch */
.custom_switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.custom_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom_slider {
    position: absolute;
    cursor: pointer;
    background-color: #111827;
    border-radius: 999px;
    inset: 0;
    transition: .3s;
}

.custom_slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.custom_switch input:checked + .custom_slider {
    background-color: #111827;
}

.custom_switch input:checked + .custom_slider:before {
    transform: translateX(18px);
}
.dashboard-container {
    background: #f6f7fb;
    padding: 25px;
    font-family: Inter, sans-serif;
}

.top-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-box {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    position: relative;
}

.stat-box span { color: #777; font-size: 13px; }
.stat-box h2 { margin-top: 8px; font-size: 22px; }

.graph-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.graph-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.filters a {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    margin-right: 6px;
}

.filters .active {
    background: #000;
    color: #fff;
}

.side-stats .side-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.two-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.white-card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.white-card h3 {
    font-size: 17px;
    margin-bottom: 15px;
}

.list-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.reject { color: red; }
.approve { color: green; }

.table-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f4f5fa;
    padding: 10px;
    font-size: 13px;
}

.data-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.growth { color: green; font-weight: 600; }

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 10px;
    color: #1f2937;
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background: #f6f6f6;
}

.sidebar-item i {
    font-size: 20px;
    color: #000;
}
/* PAGE BACKGROUND */
.orders-page {
    background: #ffffff;
    min-height: 100vh;
}

/* TOP BAR */
.orders-toolbar {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 0.6fr;
    gap: 14px;
}

/* INPUTS */
.ui-input {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 0 14px;
    font-size: 14px;
    background: #fff;
}

.ui-input:focus {
    outline: none;
    border-color: #000;
}

/* BULK DROPDOWN */
.bulk-btn {
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 12px 22px;
    font-weight: 500;
}

.bulk-dropdown {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    margin-top: 8px;
    overflow: hidden;
}

.bulk-dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.bulk-dropdown a:last-child {
    border-bottom: none;
}

/* TABLE */
.orders-table {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
}

.orders-table th {
    background: #fafafa;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.orders-table td {
    font-size: 14px;
    color: #444;
}

.row-hover:hover {
    background: #f9fafb;
}

/* STATUS BADGES */
.status-pill {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.status-delivered { background: #e6f4ea; color: #1e7f43; }
.status-returned  { background: #e8f1ff; color: #2563eb; }
.status-shipped   { background: #f3f4f6; color: #374151; }
.status-processing{ background: #fff1e6; color: #fb923c; }
.status-cancelled { background: #ffe8e8; color: #dc2626; }

/* PAGINATION */
.white-pagination a,
.white-pagination span {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.white-pagination .active span {
    background: #111;
    color: #fff;
}
/* HEADER SECTION */
.customers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.export-btn {
    background: #000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.export-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* FILTER ROW */
.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.search-input {
    width: 280px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
}

.search-input input {
    width: 100%;
    border: none !important;
    outline: none !important;
}

.filter-box,
.date-input {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    width: 150px;
    position: relative;
}

.filter-box select,
.date-input input {
    width: 100%;
    border: none;
    outline: none;
}

/* TABLE */
.table-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    background: #fafafa;
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 600;
}

.table-row:hover {
    background: #fafafa;
}

.avatar-block {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-right: 10px;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-inactive {
    background: #fde68a;
    color: #b45309;
}

.status-blocked {
    background: #fecaca;
    color: #b91c1c;
}

.view-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: underline;
}

/* PAGINATION */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    padding: 6px 10px;
    border-radius: 8px;
}

.page-number.active {
    background: #000;
    color: #fff;
}

.rows-select {
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Top bar */
.order-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.order-export-btn {
    background: #000;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Search + Date + Filter container */
.order-filter-row {
    display: grid;
    grid-template-columns: 1fr 200px 200px;
    gap: 12px;
    margin-bottom: 25px;
}

.order-search-box,
.order-date-box,
.order-filter-select {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tabs */
.order-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.order-tab-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    background: #f1f1f1;
    cursor: pointer;
}

.order-tab-btn.active {
    background: #000;
    color: #fff;
}

/* Table */
.order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.order-table th {
    background: #fafafa;
    color: #555;
    text-align: left;
    padding: 12px;
    font-size: 12px;
}
.order-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
}

/* Status badges */
.badge {
    padding: 4px 10px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
}

.badge-processing { background: #fde9d5; color: #d47c11; }
.badge-new { background: #e5efff; color: #3b82f6; }
.badge-delivered { background: #d7f3e3; color: #2f855a; }
.badge-shipped { background: #e6e6e6; color: #555; }
.badge-cancelled { background: #ffd6d6; color: #d11a2a; }

/* Pagination */
.order-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.order-pagination a,
.order-pagination span {
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
}

.order-pagination .active {
    background: #000;
    color: #fff;
}

/* Rows per page */
.rows-select {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* ---------------------------------------------------------
   GLOBAL WRAPPER
--------------------------------------------------------- */
.vendor-page-wrapper {
    padding: 25px 30px;
    font-family: Inter, sans-serif;
    background: #f9fafb;
}

/* ---------------------------------------------------------
   PAGE HEADER
--------------------------------------------------------- */
.vendor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.back-btn {
    color: #374151;
    padding: 8px;
    border-radius: 8px;
    transition: 0.2s;
}
.back-btn:hover {
    background: #e5e7eb;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vendor-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
}

/* STATUS BADGE */
.status-badge {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
}

.status-badge.active {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.inactive {
    background: #fee2e2;
    color: #b91c1c;
}

/* BLOCK BUTTON */
.block-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #b91c1c;
    padding: 9px 16px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    cursor: pointer;
    transition: 0.2s;
}
.block-btn:hover {
    background: #fecaca;
}

/* ---------------------------------------------------------
   GRID
--------------------------------------------------------- */
.vendor-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
}

/* LEFT + RIGHT */
.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ---------------------------------------------------------
   CARD DESIGN
--------------------------------------------------------- */
.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

/* ---------------------------------------------------------
   BASIC INFORMATION
--------------------------------------------------------- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
}

.info-row {
    display: flex;
    flex-direction: column;
}

.info-row label {
    font-size: 13px;
    color: #6b7280;
}

.info-row span {
    font-size: 14px;
    color: #111827;
    margin-top: 2px;
}

/* ---------------------------------------------------------
   PERFORMANCE SUMMARY
--------------------------------------------------------- */
.performance-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.perf-box {
    flex: 1;
    background: #f3f4f6;
    padding: 18px 15px;
    border-radius: 12px;
    text-align: center;
}

.perf-value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.perf-label {
    font-size: 13px;
    color: #6b7280;
}

/* ---------------------------------------------------------
   OPENING TIMES
--------------------------------------------------------- */
.opening-table {
    width: 100%;
    border-collapse: collapse;
}

.opening-table td {
    padding: 10px 0;
    font-size: 14px;
}

.opening-table .day {
    font-weight: 600;
    color: #374151;
}

.opening-table .time {
    color: #111827;
}

.highlight-row td {
    background: #fef9c3;
}

/* ---------------------------------------------------------
   COVERAGE AREAS
--------------------------------------------------------- */
.coverage-item {
    padding: 14px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coverage-title {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.coverage-meta {
    font-size: 13px;
    color: #6b7280;
    margin-top: 3px;
}

.toggle-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

/* ---------------------------------------------------------
   COMMISSION
--------------------------------------------------------- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input {
    width: 100%;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 6px;
}

.btn-save {
    background: #2563eb;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.btn-save:hover {
    background: #1d4ed8;
}

/* ---------------------------------------------------------
   TABS
--------------------------------------------------------- */
.tab-container {
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
}

.tab {
    padding: 10px 14px;
    font-size: 14px;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.tab.active {
    color: #111827;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.tab:hover {
    color: #111827;
}

/* ---------------------------------------------------------
   SALES TABLE
--------------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
}

.sales-table {
    width: 100%;
    border-collapse: collapse;
}

.sales-table th {
    text-align: left;
    padding: 12px 0;
    font-size: 13px;
    text-transform: uppercase;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.sales-table td {
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.prod-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prod-img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
}

.prod-name {
    color: #111827;
}

/* Status Badge Small */
.status-badge-small {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge-small.completed { background: #dcfce7; color: #15803d; }
.status-badge-small.pending { background: #fef9c3; color: #b45309; }
.status-badge-small.cancelled { background: #fee2e2; color: #b91c1c; }

.view-btn {
    color: #2563eb;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}
.view-btn:hover {
    text-decoration: underline;
}
.vendor-input {
    border: 1px solid #DDD;
    background: #FAFAFA;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.export-btn {
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.add-vendor-btn {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
}

.vendor-th {
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    color: #888;
}

.vendor-row {
    border-bottom: 1px solid #f0f0f0;
}

.vendor-td {
    padding: 14px 12px;
    font-size: 14px;
}

.view-link {
    color: #2563eb;
    font-weight: 500;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: #e1f8e9;
    color: #2d9a56;
}

.status-inactive {
    background: #fff1d6;
    color: #d3821c;
}

.status-pending {
    background: #f3f3f3;
    color: #666;
}

.status-blocked {
    background: #ffe2e2;
    color: #d33c3c;
}
