/**
 * Sri Mobile Storefront & Admin Stylesheet
 * Theme: Radiant Gold (#f6cc44) & Luxury Obsidian Black / Crisp White
 * High-Density Typography & Professional Micro-Interactions
 */

:root {
    /* Brand Theme Colors */
    --primary-color: #f6cc44;
    --primary-hover: #e0b830;
    --primary-dark: #caa21f;
    --primary-light: rgba(246, 204, 68, 0.15);
    --primary-border: rgba(246, 204, 68, 0.35);
    --primary-glow: 0 4px 18px rgba(246, 204, 68, 0.28);
    --primary-text: #09090b;

    /* Luxury Neutrals (Obsidian Black & Crisp White) */
    --black-base: #09090b;
    --black-surface: #121215;
    --black-elevated: #18181c;
    --black-border: #27272a;
    --black-muted: #71717a;

    --white-base: #ffffff;
    --white-surface: #f8fafc;
    --white-border: #e4e4e7;
    --white-hover: #f1f5f9;

    /* Status Accents */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;

    /* Typography Settings (Reduced, Professional Scaling) */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 0.84rem; /* ~13.5px base */
    --font-size-sm: 0.76rem;   /* ~12px */
    --font-size-xs: 0.68rem;   /* ~11px */
    --font-size-lg: 0.95rem;   /* ~15px */

    /* Radii & Shadows */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 50px;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Base Scaling */
html {
    font-size: 14.5px; /* Refines default Bootstrap rem sizing globally */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: #18181b;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1 0 auto;
}

/* Refined Typography (Reduced Headings) */
h1, .h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.25; color: #09090b; }
h2, .h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: #09090b; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; color: #09090b; }
h4, .h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: #09090b; }
h5, .h5 { font-size: 0.92rem; font-weight: 600; line-height: 1.4; color: #09090b; }
h6, .h6 { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #52525b; }

/* Links */
a {
    color: #18181b;
    text-decoration: none;
    transition: all 0.18s ease-in-out;
}
a:hover {
    color: #caa21f;
}

/* Bootstrap Color Overrides */
.text-primary {
    color: #b88a07 !important;
}
.bg-dark .text-primary, 
.admin-sidebar .text-primary, 
.hero-banner .text-primary, 
.navbar-top .text-primary {
    color: #f6cc44 !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
}
.border-primary {
    border-color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}
.btn-sm {
    font-size: 0.74rem;
    padding: 4px 10px;
    border-radius: 6px;
}
.btn-lg {
    font-size: 0.92rem;
    padding: 9px 22px;
    border-radius: var(--radius-md);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    box-shadow: 0 2px 6px rgba(246, 204, 68, 0.28);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #000000 !important;
    box-shadow: var(--primary-glow) !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: #18181b !important;
    border-color: var(--primary-color) !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    box-shadow: var(--primary-glow);
}

.btn-dark {
    background-color: var(--black-base) !important;
    border-color: var(--black-base) !important;
    color: #ffffff !important;
}
.btn-dark:hover {
    background-color: #18181c !important;
    border-color: #18181c !important;
    color: var(--primary-color) !important;
}

.btn-light {
    background-color: #ffffff;
    border-color: var(--white-border);
    color: #18181b;
}
.btn-light:hover {
    background-color: #f4f4f5;
    border-color: #d4d4d8;
    color: #000000;
}

/* Badges */
.badge {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 3px 8px;
    letter-spacing: 0.2px;
}
.badge.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    font-weight: 700;
}
.badge.bg-primary-subtle {
    background-color: var(--primary-light) !important;
    color: #8c6703 !important;
    border: 1px solid var(--primary-border);
}

/* Form Controls */
.form-control, .form-select {
    font-size: 0.82rem;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    border-color: #d4d4d8;
    background-color: #ffffff;
    color: #18181b;
    transition: all 0.18s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(246, 204, 68, 0.25) !important;
    background-color: #ffffff;
}
.form-control-sm, .form-select-sm {
    font-size: 0.75rem;
    padding: 5px 9px;
}
.form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #27272a;
    margin-bottom: 4px;
}

/* Tables */
.table {
    font-size: 0.8rem;
    color: #18181b;
    margin-bottom: 0;
}
.table th {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #52525b;
    background-color: #f4f4f5;
    border-bottom: 1px solid var(--white-border);
    padding: 9px 12px;
}
.table td {
    padding: 9px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f3;
}

/* Storefront Navigation */
.navbar-top {
    background-color: var(--black-base);
    font-size: 0.78rem;
    color: #a1a1aa;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar-top a:hover {
    color: var(--primary-color) !important;
}

.navbar-main {
    background: #ffffff;
    border-bottom: 1px solid var(--white-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.brand-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--black-base);
}
.brand-logo-text span {
    color: #b88a07;
}

/* Search Bar */
.search-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
}
.search-input {
    border-radius: var(--radius-pill);
    padding-left: 18px;
    padding-right: 44px;
    font-size: 0.82rem;
    height: 38px;
    border: 1px solid #d4d4d8;
    background: #fafafa;
    transition: all 0.2s ease;
}
.search-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(246, 204, 68, 0.25);
}
.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: var(--black-base) !important;
    border: none;
    color: var(--primary-color) !important;
}
.search-btn:hover {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
}
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--white-border);
    z-index: 1050;
    margin-top: 6px;
    display: none;
    max-height: 380px;
    overflow-y: auto;
    font-size: 0.8rem;
}

/* Hero Banner (Radiant Gold & Obsidian Black) */
.hero-banner {
    background: radial-gradient(circle at 85% 20%, rgba(246, 204, 68, 0.18), transparent 42%), linear-gradient(135deg, #09090b 0%, #121215 50%, #1c1c21 100%);
    color: #ffffff;
    border: 1px solid rgba(246, 204, 68, 0.25);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.hero-tag {
    display: inline-block;
    background: rgba(246, 204, 68, 0.15);
    border: 1px solid rgba(246, 204, 68, 0.35);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.hero-title {
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    color: #ffffff;
}
.hero-desc {
    color: #a1a1aa;
    font-size: 0.9rem;
    max-width: 520px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.hero-img-wrap {
    text-align: center;
}
.hero-img-wrap img {
    max-height: 280px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
    transition: transform 0.35s ease;
}
.hero-img-wrap img:hover {
    transform: scale(1.03) rotate(0.5deg);
}

/* Feature & Trust Bar */
.trust-bar {
    background: #ffffff;
    border: 1px solid var(--white-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 30px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(246, 204, 68, 0.15);
    color: #926d03;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Category Cards */
.cat-card {
    background: #ffffff;
    border: 1px solid var(--white-border);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    transition: all 0.22s ease;
    box-shadow: var(--shadow-xs);
    display: block;
    color: #18181b;
}
.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
    color: #000000;
}
.cat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f4f4f5;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #27272a;
    transition: all 0.2s ease;
}
.cat-card:hover .cat-icon-wrap {
    background: var(--primary-color);
    color: var(--black-base);
    box-shadow: 0 4px 12px rgba(246, 204, 68, 0.35);
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border: 1px solid var(--white-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}
.product-badge-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wishlist-btn-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e4e4e7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    transition: all 0.18s ease;
    cursor: pointer;
    font-size: 0.85rem;
}
.wishlist-btn-corner:hover, .wishlist-btn-corner.active {
    color: #ef4444;
    background: #ffffff;
    border-color: #fca5a5;
    transform: scale(1.08);
}
.product-img-wrap {
    padding: 18px;
    text-align: center;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrap img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.28s ease;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}
.product-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-brand {
    font-size: 0.68rem;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}
.product-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.32;
    margin-bottom: 6px;
    color: #09090b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.35rem;
}
.product-specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}
.spec-chip {
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f4f4f5;
    color: #52525b;
    font-weight: 500;
}
.price-block {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}
.current-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #09090b;
    letter-spacing: -0.02em;
}
.old-mrp {
    font-size: 0.78rem;
    color: #a1a1aa;
    text-decoration: line-through;
}
.discount-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
}

/* Variant Swatches on Product Page */
.variant-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.variant-option-btn {
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    padding: 6px 12px;
    background: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.18s ease;
}
.variant-option-btn:hover {
    border-color: #a1a1aa;
}
.variant-option-btn.active {
    border-color: #caa21f;
    background: rgba(246, 204, 68, 0.14);
    color: #8c6703;
}
.color-swatch-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d4d4d8;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s ease;
    position: relative;
}
.color-swatch-btn:hover {
    transform: scale(1.15);
}
.color-swatch-btn.active {
    box-shadow: 0 0 0 2px var(--primary-color);
    transform: scale(1.15);
}

/* Key Specifications Table */
.spec-table th {
    background: #f8fafc;
    width: 32%;
    font-weight: 600;
    color: #52525b;
    font-size: 0.8rem;
}
.spec-table td {
    font-size: 0.8rem;
    color: #09090b;
}

/* Cart & Checkout Styling */
.cart-summary-box {
    background: #ffffff;
    border: 1px solid var(--white-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 85px;
}
.cart-row-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 6px;
    padding: 4px;
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    overflow: hidden;
}
.qty-stepper button {
    width: 28px;
    height: 28px;
    background: #f4f4f5;
    border: none;
    font-weight: 700;
    color: #27272a;
    cursor: pointer;
    font-size: 0.8rem;
}
.qty-stepper button:hover {
    background: var(--primary-color);
    color: #000000;
}
.qty-stepper input {
    width: 38px;
    height: 28px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.82rem;
}

/* Checkout Steps */
.checkout-step-header {
    background: #f8fafc;
    padding: 12px 18px;
    border-bottom: 1px solid var(--white-border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
}
.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--primary-text);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order Status Timeline */
.timeline-track {
    position: relative;
    padding: 18px 0;
}
.timeline-track::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 17px;
    bottom: 20px;
    width: 2.5px;
    background: #e4e4e7;
}
.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 24px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon {
    position: absolute;
    left: 6px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e4e4e7;
    color: #71717a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 2;
}
.timeline-item.completed .timeline-icon {
    background: var(--success-color);
    color: #ffffff;
}
.timeline-item.active .timeline-icon {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 0 3px rgba(246, 204, 68, 0.28);
}

/* Official GST Tax Invoice Print Styling */
.tax-invoice-container {
    background: #ffffff;
    max-width: 840px;
    margin: 24px auto;
    padding: 34px;
    border: 1px solid #d4d4d8;
    box-shadow: var(--shadow-md);
    color: #09090b;
    font-size: 12px;
    line-height: 1.45;
}
.invoice-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.invoice-table th, .invoice-table td {
    padding: 7px 9px;
    border: 1px solid #d4d4d8;
    vertical-align: middle;
}
.invoice-table th {
    background: #f4f4f5;
    font-weight: 700;
    font-size: 11px;
}

@media print {
    body * {
        visibility: hidden;
    }
    .tax-invoice-container, .tax-invoice-container * {
        visibility: visible;
    }
    .tax-invoice-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
    }
    .no-print {
        display: none !important;
    }
}

/* Toast Alerts */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1090;
}
.custom-toast {
    background: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    font-size: 0.82rem;
    animation: slideIn 0.28s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Admin Dashboard Layout (Obsidian Black & Radiant Gold) */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--black-base);
    color: #a1a1aa;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-sidebar a {
    color: #a1a1aa;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 6px;
    margin: 2px 10px;
    text-decoration: none;
    transition: all 0.18s ease;
}
.admin-sidebar a:hover {
    color: #ffffff;
    background: #18181c;
}
.admin-sidebar a.active {
    background: var(--primary-color);
    color: var(--primary-text) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(246, 204, 68, 0.35);
}
.admin-sidebar a.active i {
    color: var(--primary-text) !important;
}

/* Sidebar Dropdown Menu Toggles */
.sidebar-dropdown-toggle {
    cursor: pointer;
    user-select: none;
    position: relative;
    border: none;
    background: transparent;
    width: calc(100% - 20px);
}
.sidebar-dropdown-toggle .arrow-icon {
    font-size: 0.68rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #71717a;
}
.sidebar-dropdown-toggle:hover .arrow-icon {
    color: #ffffff;
}
.sidebar-dropdown-toggle[aria-expanded="true"] {
    color: #ffffff;
    background: #18181c;
}
.sidebar-dropdown-toggle[aria-expanded="true"] .arrow-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}
.sidebar-dropdown-toggle.active-parent {
    color: #ffffff;
    background: rgba(246, 204, 68, 0.1);
    border-left: 3px solid var(--primary-color);
}

/* Sidebar Submenus */
.sidebar-submenu {
    padding: 2px 0 4px 0;
    margin: 2px 10px 4px 16px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.sidebar-submenu a {
    padding: 6px 10px 6px 12px;
    font-size: 0.78rem;
    color: #a1a1aa;
    margin: 1px 0 1px 4px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}
.sidebar-submenu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    padding-left: 15px;
}
.sidebar-submenu a.active {
    color: var(--primary-text) !important;
    background: var(--primary-color) !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(246, 204, 68, 0.25);
    padding-left: 12px;
}
.sidebar-submenu a.active i {
    color: var(--primary-text) !important;
}
.sidebar-submenu a i {
    font-size: 0.88rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Custom Scrollbar for Dark Sidebar */
.admin-sidebar .overflow-y-auto::-webkit-scrollbar {
    width: 4px;
}
.admin-sidebar .overflow-y-auto::-webkit-scrollbar-track {
    background: rgba(9, 9, 11, 0.8);
}
.admin-sidebar .overflow-y-auto::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
.admin-sidebar .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Admin Content Area */
.admin-content {
    flex-grow: 1;
    background: #f4f4f5;
    padding: 24px;
    overflow-x: hidden;
}
.kpi-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    border: 1px solid var(--white-border);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #cbd5e1;
}
.kpi-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.kpi-icon-wrap.bg-primary-subtle {
    background-color: rgba(246, 204, 68, 0.18) !important;
    color: #926d03 !important;
}

/* Focus and Active States */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    font-weight: 700;
}
.pagination .page-link {
    color: #18181b;
    font-size: 0.8rem;
    padding: 5px 10px;
}
.nav-pills .nav-link.active {
    background-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    font-weight: 600;
}
