/* ─── RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --yellow: #F5C518;
    --yellow-d: #D4A800;
    --yellow-l: #FFF8DC;
    --green: #4CAF50;
    --red: #EF5350;
    --blue: #2196F3;
    --purple: #9C27B0;
    --bg: #F9FAFB;
    --sidebar: #1A1A2E;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --text: #111827;
    --muted: #6B7280;
    --radius: 14px;
    --shadow: 0 2px 16px rgba(0, 0, 0, .07);
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── SIDEBAR ──────────────────────────────────────────────── */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: var(--sidebar);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    transition: width var(--transition);
    overflow: hidden;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1.2;
}

.logo-text strong {
    color: #fff;
    font-size: 15px;
    display: block;
}

.logo-text span {
    color: var(--yellow);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-section {
    padding: 18px 12px 8px;
}

.nav-label {
    color: rgba(255, 255, 255, .35);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0 10px 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    position: relative;
    margin-bottom: 2px;
    white-space: nowrap;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

.nav-item.active {
    background: var(--yellow);
    color: #1A1A2E;
    font-weight: 700;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    padding: 2px 7px;
}

.nav-item.active .badge {
    background: #1A1A2E;
    color: var(--yellow);
}

.sidebar-footer {
    margin-top: auto;
    padding: 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1A1A2E;
    font-size: 14px;
    flex-shrink: 0;
}

.user-info strong {
    color: #fff;
    font-size: 13px;
    display: block;
}

.user-info span {
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
}

/* ─── MAIN CONTENT ─────────────────────────────────────────── */
.main {
    margin-left: 250px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ─── TOPBAR ───────────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(249, 250, 251, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title {
    font-size: 18px;
    font-weight: 700;
}

.page-sub {
    font-size: 13px;
    color: var(--muted);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: border-color var(--transition), color var(--transition);
    position: relative;
}

.topbar-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow-d);
}

.topbar-btn svg {
    width: 18px;
    height: 18px;
}

.notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--bg);
}

.date-chip {
    background: var(--yellow-l);
    border: 1px solid #E8D500;
    color: var(--yellow-d);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ─── PAGE VIEWS ───────────────────────────────────────────── */
.page {
    display: none;
    padding: 28px 32px 40px;
}

.page.active {
    display: block;
}

/* ─── KPI CARDS ────────────────────────────────────────────── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.kpi-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px 22px 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.kpi-card.yellow::before {
    background: var(--yellow);
}

.kpi-card.green::before {
    background: var(--green);
}

.kpi-card.blue::before {
    background: var(--blue);
}

.kpi-card.purple::before {
    background: var(--purple);
}

.kpi-card.red::before {
    background: var(--red);
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .10);
}

.kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.kpi-icon.yellow {
    background: #FFF8DC;
    color: var(--yellow-d);
}

.kpi-icon.green {
    background: #E8F5E9;
    color: #388E3C;
}

.kpi-icon.blue {
    background: #E3F2FD;
    color: #1565C0;
}

.kpi-icon.purple {
    background: #F3E5F5;
    color: #7B1FA2;
}

.kpi-icon.red {
    background: #FFEBEE;
    color: #C62828;
}

.kpi-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.kpi-delta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.kpi-delta.up {
    color: var(--green);
}

.kpi-delta.down {
    color: var(--red);
}

.kpi-delta svg {
    width: 14px;
    height: 14px;
}

/* ─── GRID LAYOUTS ─────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

/* ─── SECTION CARDS ────────────────────────────────────────── */
.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
}

.card-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.card-action {
    font-size: 12px;
    font-weight: 600;
    color: var(--yellow-d);
    cursor: pointer;
    border: none;
    background: none;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #E8D500;
    transition: background var(--transition);
}

.card-action:hover {
    background: var(--yellow-l);
}

.card-body {
    padding: 20px 22px;
}

/* ─── CHARTS ───────────────────────────────────────────────── */
.chart-wrap {
    position: relative;
    height: 240px;
}

.chart-wrap-sm {
    position: relative;
    height: 180px;
}

.chart-wrap-lg {
    position: relative;
    height: 300px;
}

/* ─── TABLE ────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

thead th {
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--muted);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: #FAFAFA;
}

td {
    padding: 11px 14px;
    vertical-align: middle;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

.tag.active {
    background: #E8F5E9;
    color: #2E7D32;
}

.tag.inactive {
    background: #FFEBEE;
    color: #C62828;
}

.tag.warning {
    background: #FFF8E1;
    color: #F57F17;
}

.tag.info {
    background: #E3F2FD;
    color: #1565C0;
}

.tag.purple {
    background: #F3E5F5;
    color: #7B1FA2;
}

/* ─── PROGRESS BAR ─────────────────────────────────────────── */
.progress {
    height: 7px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* ─── SECTION TITLE ────────────────────────────────────────── */
.section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ─── SCHEDULE ─────────────────────────────────────────────── */
.schedule-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.day-badge {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.day-badge .day-num {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.schedule-detail {
    flex: 1;
    min-width: 0;
}

.schedule-detail .meal {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-detail .calorie {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.schedule-actions {
    display: flex;
    gap: 6px;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.icon-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow-d);
    background: var(--yellow-l);
}

.icon-btn svg {
    width: 14px;
    height: 14px;
}

/* ─── PRICE CARD ───────────────────────────────────────────── */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.price-card {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.price-card:hover {
    border-color: var(--yellow);
    box-shadow: 0 4px 20px rgba(245, 197, 24, .2);
}

.price-card.featured {
    border-color: var(--yellow);
    background: var(--yellow-l);
}

.price-card .promo-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.price-card .pkg-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.price-card .pkg-duration {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-card .pkg-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--yellow-d);
}

.price-card .pkg-ori {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-card .pkg-type {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}

/* ─── CUSTOMER LIST ────────────────────────────────────────── */
.customer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.cust-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.cust-name {
    font-size: 13.5px;
    font-weight: 600;
}

.cust-pkg {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}

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

.cust-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--yellow-d);
    text-align: right;
}

.cust-city {
    font-size: 11px;
    color: var(--muted);
    text-align: right;
}

/* ─── TOAST ────────────────────────────────────────────────── */
#toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #1A1A2E;
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    transform: translateY(120px);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 9999;
}

#toast.show {
    transform: translateY(0);
}

#toast .toast-icon {
    color: var(--yellow);
}

/* ─── FORM ELEMENTS ────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .4px;
}

.form-control {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
    background: #fff;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.form-control:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, .15);
}

.btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--yellow);
    color: #1A1A2E;
}

.btn-primary:hover {
    background: var(--yellow-d);
    box-shadow: 0 4px 14px rgba(245, 197, 24, .5);
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--yellow);
    background: var(--yellow-l);
}

.btn-danger {
    background: #FFEBEE;
    color: var(--red);
    border: 1.5px solid #FFCDD2;
}

.btn-danger:hover {
    background: var(--red);
    color: #fff;
}

/* ─── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.modal {
    background: #fff;
    border-radius: 18px;
    width: min(520px, 96vw);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
    animation: slideUp .25s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 17px;
    font-weight: 800;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--bg);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: background var(--transition);
}

.modal-close:hover {
    background: #FFEBEE;
    color: var(--red);
}

.modal-body {
    padding: 22px 24px;
}

.modal-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ─── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* ─── SEARCH ───────────────────────────────────────────────── */
.search-wrap {
    position: relative;
}

.search-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--muted);
    pointer-events: none;
}

.search-input {
    padding: 9px 14px 9px 36px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px;
    outline: none;
    width: 220px;
    transition: border-color var(--transition);
    font-family: inherit;
}

.search-input:focus {
    border-color: var(--yellow);
}

/* ─── KPI-GRID-4 ───────────────────────────────────────────── */
.kpi-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* ─── HAMBURGER ────────────────────────────────────────────── */
.hamburger {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    flex-shrink: 0;
}

.hamburger svg {
    width: 20px;
    height: 20px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 99;
}

.sidebar-overlay.open {
    display: block;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1200px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

/* Tablet portrait */
@media (max-width: 900px) {
    .sidebar {
        width: 230px;
    }

    .main {
        margin-left: 230px;
    }

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

    .kpi-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

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

    .search-input {
        width: 160px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sidebar {
        width: 260px;
        transform: translateX(-100%);
        transition: transform var(--transition);
        z-index: 200;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .topbar {
        padding: 0 16px;
        gap: 10px;
    }

    .page-title {
        font-size: 15px;
    }

    .page-sub {
        display: none;
    }

    .date-chip {
        display: none;
    }

    .page {
        padding: 16px 14px 40px;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .kpi-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .kpi-value {
        font-size: 22px;
    }

    .page>div[style*="display:flex"][style*="justify-content:space-between"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

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

    .modal {
        width: 96vw;
        border-radius: 14px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-header,
    .modal-footer {
        padding: 14px 16px;
    }

    .chart-wrap {
        height: 200px;
    }

    .chart-wrap-sm {
        height: 150px;
    }

    .chart-wrap-lg {
        height: 240px;
    }

    .search-wrap {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .card-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    table {
        font-size: 12px;
    }

    td,
    thead th {
        padding: 9px 10px;
    }

    #toast {
        left: 14px;
        right: 14px;
        bottom: 14px;
        font-size: 13px;
    }

    .schedule-detail .meal {
        font-size: 13px;
    }

    .customer-row {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 16px;
    }

    .topbar-btn:last-child {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .kpi-grid-4 {
        grid-template-columns: 1fr 1fr !important;
    }

    .kpi-card {
        padding: 16px 14px 12px;
    }

    .kpi-value {
        font-size: 20px;
    }

    .kpi-delta {
        font-size: 10px;
    }

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

    .chart-wrap {
        height: 180px;
    }

    .chart-wrap-lg {
        height: 200px;
    }

    .page {
        padding: 12px 10px 40px;
    }

    .card-header {
        padding: 14px 14px 10px;
    }

    .card-body {
        padding: 14px;
    }

    .topbar {
        height: 56px;
    }

    .section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
}