/* ══════════════════════════════════════════════════════════
   ADMIN — FOLDED
   Extends index.css
   ══════════════════════════════════════════════════════════ */

/* ── Page shell ─────────────────────────────────────────── */

body.admin-page {
    background-color: #fff;
    overflow: hidden;
}

.app-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════ */

.sidebar {
    width: 250px;
    min-width: 250px;
    height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-top {
    padding: 28px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo-link { display: inline-block; }

.sidebar-logo { width: 130px; }

/* Admin pill */
.admin-pill {
    background-color: #FFDE59;
    border: 1.5px solid rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
}

.admin-pill--sm {
    font-size: 9px;
    padding: 2px 6px;
}

/* Nav */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-item.active {
    background-color: #FFDE59;
    color: #000;
}

.nav-item.active svg { stroke: #000; }

.nav-item svg {
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.55);
    transition: stroke 0.15s ease;
}

.nav-item:hover svg { stroke: #fff; }

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFDE59;
    border: 1.5px solid #000;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    color: #000;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    margin-left: auto;
    line-height: 1;
}

.nav-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Sidebar bottom */
.sidebar-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: #FFDE59;
    border: 2px solid #FFDE59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #000;
}

.user-meta { display: flex; flex-direction: column; }

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.user-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.sign-out-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.sign-out-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.sign-out-btn svg { stroke: currentColor; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   MOBILE HEADER
   ══════════════════════════════════════════════════════════ */

.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #FFDE59;
    border-bottom: 2px solid #000;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo { width: 110px; }

.mobile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #000;
    color: #FFDE59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════════════════════ */

.app-main {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 48px 50px;
    background-color: #f9f9f9;
}

/* ── Section visibility ──────────────────────────────────── */

.app-section {
    display: none;
    max-width: 1000px;
    padding-inline: 0;
    animation: sectionIn 0.25s ease both;
}

.app-section.active { display: block; }

@keyframes sectionIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Section header ──────────────────────────────────────── */

.section-header { margin-bottom: 32px; }

.section-header h2 {
    font-size: 42px;
    line-height: 50px;
    margin-bottom: 6px;
}

.section-header p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.45);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   ANALYTICS — STAT CARDS
   ══════════════════════════════════════════════════════════ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 26px 24px;
}

.stat-card--yellow {
    background-color: #FFDE59;
}

.stat-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.stat-value {
    font-family: 'GulfDisplay', sans-serif;
    font-size: 46px;
    line-height: 1;
    margin-bottom: 6px;
    color: #000;
}

.stat-sub {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.45);
    font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   ANALYTICS — BAR CHART
   ══════════════════════════════════════════════════════════ */

.chart-card {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 28px 28px 20px;
    margin-bottom: 20px;
}

.chart-top {
    margin-bottom: 24px;
}

.chart-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.45);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 160px;
}

.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.bar-count {
    font-size: 12px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.45);
    min-height: 18px;
    line-height: 1;
}

.bar-today .bar-count { color: #000; }

.bar-track {
    flex: 1;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.bar-fill {
    width: 100%;
    background-color: #000;
    border-radius: 6px 6px 0 0;
    transition: height 0.4s ease;
    min-height: 4px;
}

.bar-today .bar-fill { background-color: #FFDE59; border: 2px solid #000; border-bottom: none; }

.bar-day {
    font-size: 13px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1;
}

.bar-month {
    font-size: 10px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3);
    letter-spacing: 0.06em;
}

.bar-today .bar-day,
.bar-today .bar-month { color: #000; }

/* ══════════════════════════════════════════════════════════
   ANALYTICS — BREAKDOWN + TOP CUSTOMERS
   ══════════════════════════════════════════════════════════ */

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.breakdown-card {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 26px;
}

.breakdown-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 20px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.breakdown-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.breakdown-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
    width: 100px;
    flex-shrink: 0;
}

.breakdown-bar-wrap {
    flex: 1;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-bar {
    height: 100%;
    border-radius: 4px;
    min-width: 4px;
}

.breakdown-val {
    font-size: 13px;
    font-weight: 700;
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}

/* Status segment colours */
.bar-seg-new  { background-color: #FFDE59; border: 1px solid rgba(0,0,0,0.2); }
.bar-seg-prog { background-color: #000; }
.bar-seg-done { background-color: rgba(0, 0, 0, 0.2); }

/* Top customers */
.tc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.tc-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: #000;
    color: #FFDE59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.tc-info { flex: 1; min-width: 0; }

.tc-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.tc-orders {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
}

.tc-spend {
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════ */

.abadge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-new {
    background-color: #FFDE59;
    color: #000;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
}

.badge-inprog {
    background-color: #000;
    color: #fff;
}

.badge-delivered {
    background-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.badge-cancelled {
    background-color: #fdf0f0;
    color: #c0392b;
    border: 1.5px solid #f5c6c6;
}

/* ══════════════════════════════════════════════════════════
   NEW ORDERS
   ══════════════════════════════════════════════════════════ */

.new-order-card {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 26px;
    margin-bottom: 16px;
}

.noc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.noc-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.noc-id {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.noc-placed {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.4);
}

.noc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.noc-item-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.noc-item-val {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 3px;
}

.noc-item-sub {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.45);
}

.noc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.noc-total {
    font-family: 'GulfDisplay', sans-serif;
    font-size: 30px;
    line-height: 1;
}

.noc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.noc-btn-secondary {
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.55);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.noc-btn-secondary:hover {
    border-color: #000;
    color: #000;
}

.noc-btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.noc-btn-primary:hover {
    background-color: #FFDE59;
    color: #000;
}

.noc-btn-primary svg { stroke: currentColor; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   ALL ORDERS — FILTER TABS
   ══════════════════════════════════════════════════════════ */

.filter-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.5);
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.filter-tab:hover {
    border-color: #000;
    color: #000;
}

.filter-tab.active {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.ftab-count {
    font-size: 11px;
    font-weight: 800;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 1.4;
}

.filter-tab.active .ftab-count {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ── Orders table ──────────────────────────────────────── */

.orders-table {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
}

.orow {
    display: grid;
    grid-template-columns: 70px 120px 110px 1fr 70px 130px 120px;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 14px;
}

.orow:last-child { border-bottom: none; }

.orow-head {
    background-color: #f5f5f5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    padding-block: 12px;
}

.orow-id { font-weight: 800; letter-spacing: 0.03em; }

.orow-customer { font-weight: 600; }

.orow-date { color: rgba(0, 0, 0, 0.5); font-size: 13px; }

.orow-service { font-size: 13px; color: rgba(0, 0, 0, 0.65); }

.orow-total { font-weight: 700; }

.orow-update {
    background: none;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.55);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.orow-update:hover {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

/* ── Empty state ──────────────────────────────────────── */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    text-align: center;
    gap: 14px;
}

.empty-icon {
    width: 64px;
    height: 64px;
    background-color: #FFDE59;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.45);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   UPDATE STATUS MODAL
   ══════════════════════════════════════════════════════════ */

.update-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 600;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.update-overlay.open { display: flex; }

.update-sheet {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 14px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.update-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 2px solid #000;
    flex-shrink: 0;
}

.update-title {
    font-family: 'GulfDisplay', sans-serif;
    font-size: 22px;
    line-height: 1;
}

.update-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}

.update-close:hover { border-color: #000; background-color: #f5f5f5; }
.update-close svg { stroke: #000; }

.update-body {
    display: grid;
    grid-template-columns: 1fr 240px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
}

.update-details {
    padding: 28px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.ud-section {}

.ud-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ud-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.ud-line {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
}

.ud-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px solid #000;
    margin-top: 4px;
}

.ud-total-row span:first-child {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
}

.ud-total-val {
    font-family: 'GulfDisplay', sans-serif;
    font-size: 28px;
    line-height: 1;
}

/* Stepper column */
.update-stepper-col {
    padding: 28px 24px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
}

.update-stepper-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.update-stepper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.update-stepper-hint {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.35);
    margin-top: 16px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Individual step */
.u-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.u-step:hover .u-dot { border-color: #000; }

.u-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.u-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.u-line {
    width: 2px;
    flex: 1;
    min-height: 18px;
    background-color: rgba(0, 0, 0, 0.12);
    margin: 4px 0;
}

.u-step-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.35);
    padding-top: 3px;
    line-height: 1.3;
    transition: color 0.15s ease;
    padding-bottom: 20px;
}

.u-step:last-child .u-step-label { padding-bottom: 0; }

/* Done state */
.u-step--done .u-dot {
    background-color: #000;
    border-color: #000;
}

.u-step--done .u-line { background-color: #000; }

.u-step--done .u-step-label { color: rgba(0, 0, 0, 0.5); }

/* Active state */
.u-step--active .u-dot {
    background-color: #FFDE59;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(255, 222, 89, 0.25);
}

.u-step--active .u-step-label {
    color: #000;
    font-weight: 700;
}

/* Update footer */
.update-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 28px;
    border-top: 2px solid #000;
    flex-shrink: 0;
}

.update-btn-cancel {
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.5);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.update-btn-cancel:hover {
    border-color: #000;
    color: #000;
}

.update-btn-save {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.update-btn-save:hover {
    background-color: #FFDE59;
    color: #000;
}

/* ══════════════════════════════════════════════════════════
   SETTINGS
   ══════════════════════════════════════════════════════════ */

.settings-card {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 16px;
}

.settings-card-title {
    font-family: 'GulfDisplay', sans-serif;
    font-size: 20px;
    margin-bottom: 22px;
}

.settings-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.sf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sf-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sf-group label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.s-input {
    width: 100%;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: #000;
    background-color: #fff;
    outline: none;
    transition: background-color 0.15s ease;
    appearance: none;
    box-sizing: border-box;
}

.s-input::placeholder { color: rgba(0, 0, 0, 0.3); }
.s-input:focus { background-color: rgba(255, 222, 89, 0.15); }

.btn-save {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-save:hover {
    background-color: #FFDE59;
    color: #000;
}

/* ══════════════════════════════════════════════════════════
   MOBILE BOTTOM TAB BAR
   ══════════════════════════════════════════════════════════ */

.mobile-tabs {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background-color: #fff;
    border-top: 2px solid #000;
    height: 72px;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.35);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    transition: color 0.15s ease;
    padding: 0;
}

.tab-item:hover { color: #000; }

.tab-item.active {
    color: #000;
}

.tab-item svg { stroke: currentColor; }

.tab-item span { line-height: 1; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media screen and (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .orow { grid-template-columns: 70px 110px 100px 1fr 65px 110px 110px; gap: 10px; }
}

@media screen and (max-width: 1100px) {
    .app-main { padding: 40px 36px; }
    .noc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 900px) {
    body.admin-page { overflow: auto; }

    .app-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .sidebar { display: none; }

    .mobile-header { display: flex; }

    .app-main {
        height: auto;
        overflow-y: visible;
        padding: 28px 24px 100px;
    }

    .app-section { max-width: none; }

    .mobile-tabs { display: flex; }

    .section-header h2 { font-size: 32px; line-height: 40px; }

    .breakdown-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .update-body { grid-template-columns: 1fr; }
    .update-details { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
    .update-stepper-col { background-color: #fff; }
}

@media screen and (max-width: 640px) {
    .app-main { padding: 24px 24px 100px; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

    .noc-grid { grid-template-columns: 1fr 1fr; }

    .noc-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
    .noc-actions { width: 100%; justify-content: flex-end; }

    .orow {
        grid-template-columns: 70px 1fr 120px 100px;
        gap: 8px;
        padding: 12px 16px;
    }

    .orow-date,
    .orow-service,
    .orow-total { display: none; }

    .orow-head span:nth-child(3),
    .orow-head span:nth-child(4),
    .orow-head span:nth-child(5) { display: none; }

    .bar-chart { gap: 6px; }
    .bar-day { font-size: 11px; }
    .bar-month { display: none; }

    .sf-row { grid-template-columns: 1fr; }

    .update-sheet { max-height: 92vh; }
    .update-footer { padding: 14px 20px; }
    .update-details { padding: 20px; }
    .update-stepper-col { padding: 20px; }
}
