/* ========================================
   PITAMOR - PANEL ADMINISTRATIVO
   Tema: Romántico Premium Mobile-First
   ======================================== */

:root {
    --primary-pink: #E91E78;
    --primary-pink-light: #FF4D9E;
    --primary-pink-dark: #C2185B;
    --accent-blue: #1565C0;
    --accent-teal: #00BCD4;
    --accent-teal-light: #26C6DA;
    --bg-cream: #FFF8F0;
    --bg-white: #FFFFFF;
    --bg-light: #FFF0F5;
    --bg-card: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-gray: #6B6B6B;
    --text-light-gray: #999999;
    --success-green: #25d366;
    --warning-orange: #ff9800;
    --shadow-pink: rgba(233, 30, 120, 0.25);
    --gradient-pink: linear-gradient(135deg, #E91E78 0%, #FF4D9E 50%, #E91E78 100%);
    --gradient-teal: linear-gradient(135deg, #00BCD4 0%, #26C6DA 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Quicksand', 'Nunito', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* LOGIN */
.login-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFFFFF 50%, #F0FAFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 20px;
}

.login-container {
    background: #fff;
    border: 2px solid rgba(233, 30, 120, 0.15);
    border-radius: 25px;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(233, 30, 120, 0.1);
}

.login-logo { margin-bottom: 35px; }

.login-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.login-logo h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.login-logo p {
    font-size: 0.85rem;
    color: var(--primary-pink);
    letter-spacing: 0.15em;
    font-weight: 600;
}

.login-form { margin-bottom: 25px; }

.login-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.login-input-group label i { color: var(--primary-pink); }

.login-input-group input {
    width: 100%;
    background: var(--bg-light);
    border: 2px solid rgba(233, 30, 120, 0.1);
    border-radius: 12px;
    padding: 15px 18px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.login-input-group input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 120, 0.1);
}

.login-input-group input::placeholder { color: var(--text-light-gray); }

.login-btn {
    width: 100%;
    background: var(--gradient-pink);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px var(--shadow-pink);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--shadow-pink);
}

.login-error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.login-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.login-back:hover { color: var(--primary-pink); }

/* MOBILE NAV */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid rgba(233, 30, 120, 0.1);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    padding: 10px 5px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.65rem;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.mobile-nav-item i { font-size: 1.2rem; }
.mobile-nav-item.active { color: var(--primary-pink); }
.mobile-nav-item:hover { color: var(--primary-pink); }

/* SIDEBAR */
.sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 260px;
    background: #fff;
    border-right: 1px solid rgba(233, 30, 120, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 50;
    transition: transform 0.3s ease;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.03);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-icon { font-size: 1.8rem; }

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-item i { width: 20px; text-align: center; }
.nav-item:hover { background: rgba(233, 30, 120, 0.06); color: var(--text-dark); }

.nav-item.active {
    background: var(--gradient-pink);
    color: #fff;
    box-shadow: 0 5px 20px var(--shadow-pink);
}

.sidebar-footer {
    padding: 20px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.back-to-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-to-menu:hover { background: rgba(0, 0, 0, 0.03); color: var(--text-dark); }

/* MAIN CONTENT */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 100px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.header-left { display: flex; align-items: center; gap: 15px; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.3rem;
    cursor: pointer;
}

.page-title { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }

.header-right { display: flex; align-items: center; gap: 20px; }

.date-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.date-display i { color: var(--primary-pink); }

.order-counter-display {
    background: rgba(233, 30, 120, 0.06);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(233, 30, 120, 0.1);
}

.counter-label { font-size: 0.75rem; color: var(--text-gray); margin-right: 8px; font-weight: 600; }
.counter-value { font-weight: 700; color: var(--primary-pink); }

/* SECTIONS */
.content-section { display: none; }
.content-section.active { display: block; }

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

.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

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

.stat-icon {
    width: 60px; height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.orders { background: linear-gradient(135deg, rgba(233, 30, 120, 0.1), rgba(255, 77, 158, 0.1)); color: var(--primary-pink); }
.stat-icon.revenue { background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(38, 198, 218, 0.1)); color: var(--accent-teal); }
.stat-icon.today { background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(50, 240, 120, 0.1)); color: var(--success-green); }
.stat-icon.average { background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 180, 50, 0.1)); color: var(--warning-orange); }

.stat-info h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 5px; color: var(--text-dark); }
.stat-info p { font-size: 0.85rem; color: var(--text-gray); font-weight: 600; }

/* CHARTS */
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.chart-card.full-width { grid-column: 1 / -1; }

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

.chart-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.chart-header h3 i { color: var(--primary-pink); }

.chart-select {
    background: var(--bg-light);
    border: 1px solid rgba(233, 30, 120, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.chart-container { position: relative; }

/* TABLES */
.recent-orders-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

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

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.card-header h3 i { color: var(--primary-pink); }

.view-all {
    color: var(--primary-pink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all:hover { color: var(--primary-pink-dark); }

.orders-table-container { overflow-x: auto; }

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

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.orders-table th {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.orders-table td { font-size: 0.9rem; }
.orders-table tbody tr:hover { background: rgba(233, 30, 120, 0.02); }

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.enviado {
    background: rgba(37, 211, 102, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.status-badge.pendiente {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-orange);
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* FILTERS */
.section-header-bar {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.filters { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; }

.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-group label { font-size: 0.8rem; color: var(--text-gray); font-weight: 600; }

.filter-group input {
    background: var(--bg-light);
    border: 1px solid rgba(233, 30, 120, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
}

.filter-group input:focus { outline: none; border-color: var(--primary-pink); }

.filter-btn {
    background: var(--gradient-pink);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px var(--shadow-pink); }
.filter-btn.clear { background: rgba(0, 0, 0, 0.05); color: var(--text-gray); }
.filter-btn.clear:hover { background: rgba(0, 0, 0, 0.08); box-shadow: none; }

/* ORDERS */
.orders-full-table {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.action-btn {
    background: rgba(233, 30, 120, 0.06);
    color: var(--primary-pink);
    border: 1px solid rgba(233, 30, 120, 0.15);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover { background: var(--primary-pink); color: #fff; }

.mobile-orders-list { display: none; }

.order-card-mobile {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.order-card-number { font-weight: 700; color: var(--primary-pink); }
.order-card-name { font-size: 0.9rem; color: var(--text-gray); font-weight: 600; }

.order-card-body { display: flex; justify-content: space-between; margin-bottom: 15px; }
.order-card-total { font-weight: 700; font-size: 1.1rem; color: var(--primary-pink); }
.order-card-date { font-size: 0.85rem; color: var(--text-gray); }

.order-card-actions { display: flex; gap: 10px; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.empty-state i { font-size: 4rem; color: var(--text-light-gray); margin-bottom: 20px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 10px; }
.empty-state p { color: var(--text-gray); }

/* REPORTS */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.report-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

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

.report-header h3 {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.report-header h3 i { color: var(--primary-pink); }

.report-date,
.report-select {
    background: var(--bg-light);
    border: 1px solid rgba(233, 30, 120, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.report-content { margin-bottom: 20px; }

.report-stat {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.report-stat:last-child { border-bottom: none; }
.report-stat .label { color: var(--text-gray); font-weight: 600; }
.report-stat .value { font-weight: 700; color: var(--primary-pink); }

.export-btn {
    width: 100%;
    background: rgba(233, 30, 120, 0.06);
    color: var(--primary-pink);
    border: 1px solid rgba(233, 30, 120, 0.15);
    padding: 12px;
    border-radius: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.export-btn:hover { background: var(--primary-pink); color: #fff; border-color: var(--primary-pink); }

/* SETTINGS */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.settings-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.settings-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-card h3 i { color: var(--primary-pink); }
.settings-card p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 20px; }
.settings-card.danger-zone { border-color: rgba(220, 53, 69, 0.2); }
.settings-card.danger-zone h3 i { color: #dc3545; }

.settings-input-group { margin-bottom: 20px; }
.settings-input-group label { display: block; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 8px; font-weight: 600; }

.settings-input-group input {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid rgba(233, 30, 120, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
}

.settings-input-group input:focus { outline: none; border-color: var(--primary-pink); }

.settings-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.settings-btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.settings-btn.primary { background: var(--gradient-pink); color: #fff; }
.settings-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 5px 20px var(--shadow-pink); }

.settings-btn.danger {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.settings-btn.danger:hover { background: #dc3545; color: #fff; }

.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; justify-content: space-between; }
.info-item .label { color: var(--text-gray); font-weight: 600; }
.info-item .value { font-weight: 700; }

/* MODAL */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal.active { opacity: 1; visibility: visible; }

.modal-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(233, 30, 120, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.modal-header h2 i { color: var(--primary-pink); }

.modal-close {
    width: 40px; height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover { background: var(--primary-pink); color: #fff; }

.modal-body { padding: 25px; overflow-y: auto; }

/* ORDER DETAIL */
.order-detail-info { margin-bottom: 20px; }

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-row .label { color: var(--text-gray); font-weight: 600; }
.detail-row .value { font-weight: 700; }

.detail-items {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
}

.detail-items h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.detail-items h4 i { color: var(--primary-pink); }

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.detail-item:last-child { border-bottom: none; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .charts-row { grid-template-columns: 1fr; }
    .reports-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); width: 280px; }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .mobile-nav { display: block; }
    .mobile-menu-btn { display: block; }
    .header-right { flex-wrap: wrap; gap: 10px; }
    .page-title { font-size: 1.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 20px; }
    .stat-icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .stat-info h3 { font-size: 1.5rem; }
    .orders-full-table { display: none; }
    .mobile-orders-list { display: block; }
    .settings-grid { grid-template-columns: 1fr; }
    .filters { flex-direction: column; }
    .filter-group { width: 100%; }
    .filter-group input { width: 100%; }
    .filter-btn { width: 100%; justify-content: center; }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--primary-pink); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-pink-light); }
