/* ========================================
   ADMIN DASHBOARD - CLEAN MINIMAL DESIGN
   ======================================== */

:root {
    --primary: #ff5722;
    --primary-dark: #e64a19;
    --blue: #3b82f6;
    --green: #10b981;
    --orange: #f59e0b;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --teal: #14b8a6;
    --red: #ef4444;
    --dark: #1f2937;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --sidebar-w: 240px;
    --header-h: 56px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--gray-100);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.menu-btn {
    width: 40px; height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-size: 18px;
    color: var(--gray-700);
    cursor: pointer;
}

.mobile-header h1 {
    font-size: 16px;
    font-weight: 600;
}

.admin-badge {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: var(--transition);
}

.sidebar-brand {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-brand img {
    width: 36px; height: 36px;
    border-radius: var(--radius);
}

.sidebar-brand span {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link i { width: 20px; text-align: center; font-size: 16px; }

.nav-link:hover {
    background: var(--gray-100);
    color: var(--dark);
}

.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-badge {
    margin-left: auto;
    background: var(--red);
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
}

.nav-link.active .nav-badge {
    background: white;
    color: var(--primary);
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--gray-200);
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.logout-btn:hover { background: var(--gray-200); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 150;
}

/* ===== MAIN CONTENT ===== */
.main {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    padding: 20px;
}

.page { display: none; }
.page.active { display: block; animation: fadeIn 0.2s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE HEADER ===== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.date-display {
    font-size: 13px;
    color: var(--gray-500);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== METRICS GRID ===== */
.metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.metric-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.2s ease;
}

.metric-card.clickable {
    cursor: pointer;
    padding-right: 36px;
}

.metric-card.clickable:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.metric-arrow {
    position: absolute;
    right: 14px;
    color: var(--gray-400);
    font-size: 12px;
    transition: all 0.2s ease;
}

.metric-card.clickable:hover .metric-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.metric-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.metric-icon.blue { background: var(--blue); }
.metric-icon.green { background: var(--green); }
.metric-icon.orange { background: var(--orange); }
.metric-icon.purple { background: var(--purple); }
.metric-icon.pink { background: var(--pink); }
.metric-icon.teal { background: var(--teal); }

.metric-info { display: flex; flex-direction: column; }
.metric-value { font-size: 20px; font-weight: 700; color: var(--dark); }
.metric-label { font-size: 12px; color: var(--gray-500); }

/* ===== SALES STATISTICS CARD ===== */
.sales-stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    color: white;
}

.sales-stats-header {
    margin-bottom: 16px;
}

.sales-stats-header h3 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sales-stats-header h3 i {
    opacity: 0.8;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sales-stat {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
}

.sales-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sales-label {
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.view-all {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.card-body {
    padding: 16px;
}

.chart-container { height: 200px; position: relative; }
.chart-container-lg { height: 280px; position: relative; }

/* ===== INPUTS & BUTTONS ===== */
.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
}

.search-input {
    position: relative;
}

.search-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
}

.search-input input {
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
    width: 200px;
    transition: var(--transition);
}

.search-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon { padding: 6px 8px; }

/* ===== TABLES ===== */
.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.data-table tbody tr:hover { background: var(--gray-50); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ===== STATUS BADGES ===== */
.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
}

.status.pending { background: #fef3c7; color: #92400e; }
.status.confirmed { background: #dbeafe; color: #1e40af; }
.status.out_for_delivery { background: #e9d5ff; color: #6b21a8; }
.status.delivered { background: #d1fae5; color: #065f46; }
.status.cancelled { background: #fee2e2; color: #991b1b; }
.status.completed { background: #d1fae5; color: #065f46; }
.status.failed { background: #fee2e2; color: #991b1b; }
.status.verified { background: #d1fae5; color: #065f46; }
.status.unverified { background: var(--gray-200); color: var(--gray-600); }

/* ===== ACTION BUTTONS ===== */
.action-btns {
    display: flex;
    gap: 4px;
}

.action-btn {
    width: 28px; height: 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.action-btn.view { background: #dbeafe; color: #1e40af; }
.action-btn.edit { background: #fef3c7; color: #92400e; }
.action-btn.delete { background: #fee2e2; color: #991b1b; }
.action-btn.verify { background: #d1fae5; color: #065f46; }
.action-btn.unverify { background: #fee2e2; color: #991b1b; }
.action-btn.msg { background: #e9d5ff; color: #6b21a8; }

.action-btn:hover { transform: scale(1.1); }

/* ===== VERIFIED BADGE ===== */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    margin-left: 4px;
    font-size: 14px;
}

.verified-badge i {
    filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3));
}

/* ===== VERIFICATION BUTTONS ===== */
.btn-verified {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    border: none !important;
}

.btn-verified:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.btn-unverified {
    background: var(--gray-100) !important;
    color: var(--gray-600) !important;
    border: 1px solid var(--gray-300) !important;
}

.btn-unverified:hover {
    background: #d1fae5 !important;
    color: #065f46 !important;
    border-color: #10b981 !important;
}

/* ===== PRIME TAGS ===== */
.prime-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.prime-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.prime-tag.inactive {
    background: var(--gray-100);
    color: var(--gray-400);
    border-color: var(--gray-200);
}

.prime-tag.inactive:hover {
    background: var(--gray-200);
    color: var(--gray-600);
}

.prime-tag.general {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #f59e0b;
}

.prime-tag.featured {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border-color: #3b82f6;
}

.prime-tag.bestseller {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #10b981;
}

.prime-tag.offers {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-color: #ef4444;
}

.prime-tag i { font-size: 9px; }

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-card-body {
    padding: 12px;
}

.product-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.product-card .meta {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px;
}

.product-card .actions {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
}

.load-more-container {
    text-align: center;
    padding: 20px;
}

/* ===== USER BANNER ===== */
.user-banner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}

.user-banner-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.user-banner-info h3 {
    font-size: 18px;
    font-weight: 600;
}

.user-banner-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.user-banner-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 13px;
}

.user-banner-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
}

.user-banner-stats i { color: var(--primary); }

/* ===== ANALYTICS ===== */
.analytics-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.analytics-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--gray-200);
}

.analytics-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.analytics-icon.green { background: var(--green); }
.analytics-icon.blue { background: var(--blue); }
.analytics-icon.orange { background: var(--orange); }
.analytics-icon.purple { background: var(--purple); }

.analytics-card > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.analytics-value { font-size: 18px; font-weight: 700; color: var(--dark); }
.analytics-label { font-size: 12px; color: var(--gray-500); }

.analytics-change {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.analytics-change.positive { background: #d1fae5; color: #065f46; }
.analytics-change.negative { background: #fee2e2; color: #991b1b; }

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.card.wide { grid-column: span 2; }

/* ===== TOP LISTS ===== */
.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.rank-item:last-child { border-bottom: none; }

.rank-badge {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.rank-badge.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.rank-badge.silver { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.rank-badge.bronze { background: linear-gradient(135deg, #d97706, #b45309); }
.rank-badge.default { background: var(--gray-400); }

.rank-item img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.rank-item .info {
    flex: 1;
    min-width: 0;
}

.rank-item .name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-item .stats { font-size: 11px; color: var(--gray-500); }

/* ===== VERIFICATIONS ===== */
.verifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.verify-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.verify-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.verify-card h4 { 
    font-size: 16px; 
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verify-card h4 i {
    color: var(--primary);
}

.verify-type-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.verify-type-badge.order { background: #e3f2fd; color: #1565c0; }
.verify-type-badge.deposit { background: #e8f5e9; color: #2e7d32; }

.verify-card-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.verify-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.verify-detail label {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    font-weight: 500;
}

.verify-detail span {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}

.verify-detail span.mpesa-code {
    font-family: monospace;
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.verify-receipt-preview {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.verify-receipt-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.verify-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.verify-actions .btn { flex: 1; justify-content: center; }
.btn-success { background: var(--green); color: white; }
.btn-danger { background: var(--red); color: white; }
.btn-success:hover { background: #059669; }
.btn-danger:hover { background: #dc2626; }

/* ===== SETTINGS ===== */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
}

.settings-grid .card.full-width {
    grid-column: 1 / -1;
}

.settings-hint {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

/* Delivery Areas Settings */
.delivery-areas-config {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.area-status-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--green);
    font-size: 14px;
}

.area-status-banner i {
    font-size: 18px;
}

.region-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.region-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.region-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-section h4 i {
    color: var(--primary);
    font-size: 16px;
}

.county-toggles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.county-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.county-toggle:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.county-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.county-toggle .county-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
}

.county-toggle .county-badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--gray-200);
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
}

.county-toggle .county-badge.active {
    background: var(--green);
    color: white;
}

.county-toggle input:checked + .county-name + .county-badge {
    background: var(--green);
    color: white;
}

.county-toggle input:checked + .county-name + .county-badge::after {
    content: 'Active';
}

.county-toggle input:not(:checked) + .county-name + .county-badge::after {
    content: 'Inactive';
}

.county-toggle .county-badge {
    font-size: 0;
}

.expand-regions-btn {
    width: 100%;
    justify-content: center;
}

.hidden-regions {
    margin-top: 20px;
}

.hidden-regions h4 {
    margin-top: 20px;
}

.hidden-regions h4:first-child {
    margin-top: 0;
}

/* Shipping Settings */
.shipping-config {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.shipping-config .form-group {
    margin-bottom: 0;
}

.shipping-config label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gray-700);
}

.shipping-config label small {
    color: var(--gray-400);
    font-weight: normal;
}

.shipping-config input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
}

.shipping-config input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.shipping-zones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.shipping-zone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.shipping-zone-item .zone-location {
    flex: 1;
    min-width: 0;
}

.shipping-zone-item .zone-location strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.shipping-zone-item .zone-location span {
    font-size: 12px;
    color: var(--gray-500);
}

.shipping-zone-item .zone-fee {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-zone-item .zone-fee input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    text-align: right;
}

.shipping-zone-item .zone-fee input:focus {
    outline: none;
    border-color: var(--primary);
}

.shipping-zone-item .zone-actions {
    display: flex;
    gap: 6px;
}

.shipping-zone-item .zone-actions button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 12px;
}

.shipping-zone-item .zone-actions .delete-zone-btn {
    background: #fee2e2;
    color: var(--red);
}

.shipping-zone-item .zone-actions .delete-zone-btn:hover {
    background: #fecaca;
}

/* Add Shipping Zone Modal */
.zone-select-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.zone-select-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    background: white;
}

.zone-select-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Hero Slides Management */
.hero-slides-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-slide-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    cursor: grab;
}

.hero-slide-item:active { cursor: grabbing; }

.hero-slide-item.dragging {
    opacity: 0.5;
    background: var(--gray-100);
}

.hero-slide-preview {
    width: 120px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.hero-slide-preview.gradient-1 { background: linear-gradient(135deg, #ff5722, #e64a19); }
.hero-slide-preview.gradient-2 { background: linear-gradient(135deg, #f57c00, #ff9800); }
.hero-slide-preview.gradient-3 { background: linear-gradient(135deg, #1976d2, #42a5f5); }
.hero-slide-preview.gradient-4 { background: linear-gradient(135deg, #2e7d32, #4caf50); }
.hero-slide-preview.gradient-5 { background: linear-gradient(135deg, #7b1fa2, #9c27b0); }

.hero-slide-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-preview i {
    position: absolute;
    right: 8px;
    bottom: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 20px;
}

.hero-slide-info {
    flex: 1;
    min-width: 0;
}

.hero-slide-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-slide-info p {
    font-size: 12px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-slide-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.hero-slide-status.active { background: #dcfce7; color: #16a34a; }
.hero-slide-status.inactive { background: var(--gray-200); color: var(--gray-500); }

.hero-slide-actions {
    display: flex;
    gap: 6px;
}

.hero-slide-actions button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 12px;
}

.hero-slide-actions .edit-btn { background: var(--gray-200); color: var(--gray-700); }
.hero-slide-actions .delete-btn { background: #fee2e2; color: var(--red); }

/* Slide Image Upload */
.slide-image-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slide-image-preview {
    width: 100%;
    height: 100px;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image-preview:empty::after {
    content: "No image selected";
    color: var(--gray-400);
    font-size: 13px;
}

.input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.admin-item span { font-size: 13px; }
.admin-item .badge { margin-left: 8px; }

.toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
}

.toggle-item span { font-size: 14px; }

/* Survey Stats */
.survey-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.survey-stat-item {
    background: var(--gray-50);
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
}

.survey-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.survey-stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.stat-tag {
    display: inline-block;
    background: linear-gradient(135deg, #fff7e6, #ffe0b3);
    color: #e65c00;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
}

.modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-600);
}

/* ===== ORDER DETAIL ===== */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.order-detail-header h3 { font-size: 18px; }

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.order-info-box {
    background: var(--gray-50);
    padding: 14px;
    border-radius: var(--radius);
}

.order-info-box h4 {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.order-info-box p { font-size: 13px; margin: 4px 0; }

.order-items {
    margin-bottom: 20px;
}

.order-items h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
}

/* ===== LOADING ===== */
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 28px; height: 28px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination button:hover { background: var(--gray-50); }
.pagination button.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== RECENT ORDERS ===== */
.recent-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

.recent-order:last-child { border-bottom: none; }

.recent-order .order-id { font-weight: 600; color: var(--dark); }
.recent-order .customer { color: var(--gray-500); }
.recent-order .amount { font-weight: 600; color: var(--dark); }

/* ===== EXCEL-LIKE TABLE ===== */
.excel-table {
    max-height: calc(100vh - 250px);
    overflow: auto;
}

.excel-table .data-table {
    border-collapse: separate;
    border-spacing: 0;
}

.excel-table .data-table th {
    position: sticky;
    top: 0;
    background: var(--gray-100);
    z-index: 10;
    border-bottom: 2px solid var(--gray-300);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.excel-table .data-table td {
    padding: 8px 10px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-200);
}

.excel-table .data-table tbody tr:hover {
    background: var(--gray-50);
}

.product-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: transform 0.2s;
}

.product-thumb:hover {
    transform: scale(1.1);
}

.editable-cell {
    position: relative;
}

.editable-cell input,
.editable-cell select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    background: transparent;
    transition: var(--transition);
}

.editable-cell input:hover,
.editable-cell select:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.editable-cell input:focus,
.editable-cell select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.editable-cell.changed input,
.editable-cell.changed select {
    background: #fef3c7;
    border-color: var(--orange);
}

.cell-save-indicator {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--green);
    opacity: 0;
    transition: opacity 0.3s;
}

.editable-cell.saved .cell-save-indicator {
    opacity: 1;
}

.status-select {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
}

.status-select.active { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.status-select.inactive { background: var(--gray-200); color: var(--gray-600); border: 1px solid var(--gray-300); }
.status-select.out_of_stock { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.form-hint {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 6px;
}

/* ===== IMAGE MANAGER ===== */
.image-manager {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px dashed var(--gray-300);
}

.image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.image-item:hover {
    border-color: var(--red);
}

.image-item:hover .image-remove {
    opacity: 1;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-remove {
    position: absolute;
    inset: 0;
    background: rgba(239, 68, 68, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transition: var(--transition);
}

.image-item.uploading {
    pointer-events: none;
}

.image-item.uploading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-item.uploading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    z-index: 1;
}

.image-add-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.image-add-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 87, 34, 0.05);
}

.image-add-btn i {
    font-size: 20px;
}

.image-add-btn span {
    font-size: 10px;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .metrics { grid-template-columns: repeat(3, 1fr); }
    .analytics-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .mobile-header { display: flex; }
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .sidebar-overlay.active { display: block; }
    .main { margin-left: 0; padding-top: calc(var(--header-h) + 16px); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .analytics-grid { grid-template-columns: 1fr; }
    .card.wide { grid-column: 1; }
    .excel-table { max-height: calc(100vh - 200px); }
}

@media (max-width: 768px) {
    .metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .metric-card { padding: 12px; }
    .metric-icon { width: 36px; height: 36px; font-size: 14px; }
    .metric-value { font-size: 16px; }
    .metric-label { font-size: 11px; }
    
    .page-header { flex-direction: column; align-items: flex-start; }
    .header-controls { width: 100%; }
    .search-input input { width: 100%; }
    
    .analytics-metrics { grid-template-columns: 1fr 1fr; }
    .analytics-card { padding: 12px; flex-wrap: wrap; }
    .analytics-value { font-size: 16px; }
    
    .hide-sm { display: none !important; }
    
    .user-banner { flex-direction: column; text-align: center; }
    .user-banner-stats { flex-wrap: wrap; justify-content: center; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card img { height: 100px; }
    
    .order-info-grid { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .main { padding: 12px; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .verifications-list { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
    .sales-grid { grid-template-columns: repeat(2, 1fr); }
    .sales-value { font-size: 16px; }
    .sales-label { font-size: 10px; }
    .notification-stats { grid-template-columns: 1fr; }
}

/* ========================================
   PUSH NOTIFICATIONS MANAGEMENT
   ======================================== */

.notification-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.notif-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.notif-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.notif-stat-icon.blue { background: #dbeafe; color: var(--blue); }
.notif-stat-icon.green { background: #d1fae5; color: var(--green); }
.notif-stat-icon.orange { background: #fef3c7; color: var(--orange); }

.notif-stat-info { display: flex; flex-direction: column; }
.notif-stat-value { font-size: 24px; font-weight: 700; color: var(--dark); }
.notif-stat-label { font-size: 13px; color: var(--gray-500); }

/* Notification Form */
#pushNotificationForm .form-group {
    margin-bottom: 20px;
}

#pushNotificationForm label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

#pushNotificationForm label i {
    color: var(--primary);
}

#pushNotificationForm input[type="text"],
#pushNotificationForm textarea,
#pushNotificationForm select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

#pushNotificationForm input:focus,
#pushNotificationForm textarea:focus,
#pushNotificationForm select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

#pushNotificationForm textarea {
    resize: vertical;
    min-height: 80px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group.half {
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
}

/* Notification Preview Modal */
.notif-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notif-preview-modal.show {
    opacity: 1;
    visibility: visible;
}

.notif-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.notif-preview-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.notif-preview-phone {
    width: 320px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 30px;
    padding: 40px 16px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.notif-preview-header {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.notif-preview-time {
    font-size: 48px;
    font-weight: 200;
}

.notif-preview-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.notif-preview-text {
    flex: 1;
}

.notif-preview-text strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.notif-preview-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Notification History */
.notif-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-history-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.notif-history-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.notif-history-content {
    flex: 1;
}

.notif-history-content strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
}

.notif-history-content p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0 0 8px;
}

.notif-history-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-500);
}

.notif-history-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}

.notif-empty i {
    font-size: 48px;
    color: var(--gray-300);
    margin-bottom: 16px;
    display: block;
}

@media (max-width: 768px) {
    .notification-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}
