@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.service-card-premium {
    border-radius: 16px !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Unique Card Gradients */
.card-blue {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
}

.card-blue:hover {
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

.card-blue::before {
    background: #2563eb;
}

.card-green {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%) !important;
}

.card-green:hover {
    background: linear-gradient(135deg, #ffffff 0%, #d1fae5 100%) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.card-green::before {
    background: #10b981;
}

.card-red {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%) !important;
}

.card-red:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffe4e6 100%) !important;
    border-color: rgba(244, 63, 94, 0.3) !important;
}

.card-red::before {
    background: #f43f5e;
}

.card-cyan {
    background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%) !important;
}

.card-cyan:hover {
    background: linear-gradient(135deg, #ffffff 0%, #cffafe 100%) !important;
    border-color: rgba(6, 182, 212, 0.3) !important;
}

.card-cyan::before {
    background: #06b6d4;
}

.card-purple {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%) !important;
}

.card-purple:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ede9fe 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.card-purple::before {
    background: #8b5cf6;
}

.card-orange {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%) !important;
}

.card-orange:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffedd5 100%) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.card-orange::before {
    background: #f59e0b;
}

.card-mint {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%) !important;
}

.card-mint:hover {
    background: linear-gradient(135deg, #ffffff 0%, #dcffe4 100%) !important;
    border-color: rgba(0, 184, 148, 0.3) !important;
}

.card-mint::before {
    background: #00b894;
}

.card-yellow {
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%) !important;
}

.card-yellow:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fef9c3 100%) !important;
    border-color: rgba(202, 138, 4, 0.3) !important;
}

.card-yellow::before {
    background: #ca8a04;
}

.card-indigo {
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%) !important;
}

.card-indigo:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%) !important;
    border-color: rgba(79, 70, 229, 0.3) !important;
}

.card-indigo::before {
    background: #4f46e5;
}

.card-amber {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%) !important;
}

.card-amber:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%) !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
}

.card-amber::before {
    background: #d97706;
}

.card-brand {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%) !important;
}

.card-brand:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ede9fe 100%) !important;
    border-color: rgba(108, 92, 231, 0.3) !important;
}

.card-brand::before {
    background: #6c5ce7;
}

.card-dark {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
}

.card-dark:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%) !important;
    border-color: rgba(30, 41, 59, 0.3) !important;
}

.card-dark::before {
    background: #1e293b;
}

.card-pink {
    background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%) !important;
}

.card-pink:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fce7f3 100%) !important;
    border-color: rgba(219, 39, 119, 0.3) !important;
}

.card-pink::before {
    background: #db27bb;
}

.card-rose {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%) !important;
}

.card-rose:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffe4e6 100%) !important;
    border-color: rgba(244, 63, 94, 0.3) !important;
}

.card-rose::before {
    background: #f43f5e;
}

.card-teal {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%) !important;
}

.card-teal:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ccfbf1 100%) !important;
    border-color: rgba(13, 148, 136, 0.3) !important;
}

.card-teal::before {
    background: #0d9488;
}

.card-slate {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

.card-slate:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
    border-color: rgba(71, 85, 105, 0.3) !important;
}

.card-slate::before {
    background: #475569;
}

/* Service Card Specific Icon Colors */
.icon-blue {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #2563eb !important;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
}

.icon-red {
    background: rgba(244, 63, 94, 0.1) !important;
    color: #f43f5e !important;
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.1) !important;
    color: #06b6d4 !important;
}

.icon-purple {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #8b5cf6 !important;
}

.icon-orange {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
}

.icon-mint {
    background: rgba(0, 184, 148, 0.1) !important;
    color: #00b894 !important;
}

.icon-yellow {
    background: rgba(202, 138, 4, 0.1) !important;
    color: #ca8a04 !important;
}

.icon-indigo {
    background: rgba(79, 70, 229, 0.1) !important;
    color: #4f46e5 !important;
}

.icon-amber {
    background: rgba(217, 119, 6, 0.1) !important;
    color: #d97706 !important;
}

.icon-brand {
    background: rgba(108, 92, 231, 0.1) !important;
    color: #6c5ce7 !important;
}

.icon-dark {
    background: rgba(30, 41, 59, 0.1) !important;
    color: #1e293b !important;
}

.icon-pink {
    background: rgba(219, 39, 119, 0.1) !important;
    color: #db27bb !important;
}

.icon-rose {
    background: rgba(244, 63, 94, 0.1) !important;
    color: #f43f5e !important;
}

.icon-teal {
    background: rgba(13, 148, 136, 0.1) !important;
    color: #0d9488 !important;
}

.icon-slate {
    background: rgba(71, 85, 105, 0.1) !important;
    color: #475569 !important;
}

.text-teal {
    color: #0d9488 !important;
}

.text-rose {
    color: #f43f5e !important;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.service-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.service-card-premium:hover::before {
    opacity: 1;
}

@media (max-width: 576px) {
    .service-grid-compact {
        margin-left: -6px;
        margin-right: -6px;
    }

    .service-grid-compact>[class*='col-'] {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }

    .service-card-premium {
        padding: 1.15rem !important;
        border-radius: 14px !important;
    }

    .service-card-premium h5 {
        font-size: 0.9rem;
        margin-bottom: 0.35rem !important;
    }

    .service-card-premium .icon-box-br {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 0.75rem !important;
    }

    .service-card-premium .icon-box-br i {
        font-size: 0.9rem;
    }

    .service-card-premium p {
        font-size: 10px !important;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0 !important;
    }

    .service-card-premium .mt-4 {
        margin-top: 0.85rem !important;
    }

    .service-card-premium .small {
        font-size: 10px !important;
    }
}

.icon-box-br {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.animate-x {
    transition: transform 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* -----------------------------
   Lucy Theme - Login Layout 
-------------------------------- */
.lucy-login-body {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #155e75 100%);
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Ambient CSS Glowing Shapes (Zero Artifacts, Pure CSS) */
.css-abstract-shape {
    position: fixed;
    top: -5%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    min-width: 400px;
    min-height: 400px;
    background: linear-gradient(135deg, #a5e2e8, #7b58cf);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.css-abstract-shape-2 {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    min-width: 500px;
    min-height: 500px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.lucy-container {
    position: relative;
    z-index: 2;
    /* Content sits above the blurred background blobs */
    min-height: 100vh;
}

/* Left Brand Panel */
.lucy-brand-panel {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lucy-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.lucy-logo-icon {
    font-size: 3.5rem;
    color: #ffffff;
}

.lucy-logo-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.lucy-logo-subtitle {
    font-size: 0.8rem;
    color: #b0a9df;
    margin: 0;
    font-weight: 400;
}

.lucy-headline {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 3rem;
    max-width: 450px;
    color: #f1f0f9;
}

.lucy-headline strong {
    font-weight: 700;
    color: #ffffff;
}

.lucy-buttons-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lucy-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lucy-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.lucy-btn-ghost {
    background: transparent;
    border: none;
    color: #d1cdea;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lucy-btn-ghost:hover {
    color: #ffffff;
}

/* Right Side - Glassmorphism Card */
.lucy-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.lucy-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.lucy-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

/* Lucy Form Inputs */
.lucy-input-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.lucy-label {
    display: block;
    color: #d1cdea;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.lucy-input-wrapper {
    position: relative;
    width: 100%;
}

.lucy-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.8rem 1rem;
    padding-right: 2.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.lucy-input:focus {
    border-color: #a5e2e8;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(165, 226, 232, 0.15);
}

.lucy-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Fix Chrome Autofill in Dark Theme */
.lucy-input:-webkit-autofill,
.lucy-input:-webkit-autofill:hover,
.lucy-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #0f1c32 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.lucy-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b0a9df;
    font-size: 1rem;
    pointer-events: none;
}

/* Checkbox */
.lucy-checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.lucy-checkbox.form-check {
    padding-left: 0;
    /* Override Bootstrap padding */
}

.lucy-checkbox .form-check-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 1.1rem;
    height: 1.1rem;
    margin: 0 !important;
    /* Force center alignment against flex */
    border-radius: 3px;
    cursor: pointer;
    float: none;
    /* Override Bootstrap float */
}

.lucy-checkbox .form-check-input:checked {
    background-color: #a5e2e8;
    border-color: #a5e2e8;
}

.lucy-checkbox .form-check-label {
    color: #d1cdea;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 0.4rem;
}

.lucy-forgot-link {
    color: #d1cdea;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lucy-forgot-link:hover {
    color: #ffffff;
}

/* Primary Button */
.lucy-btn-primary {
    background-color: #0ea5e9;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.lucy-btn-primary:hover {
    background-color: #0284c7;
    transform: translateY(-1px);
}

.lucy-divider {
    text-align: center;
    margin-bottom: 1rem;
    color: #d1cdea;
    font-size: 0.8rem;
}

.lucy-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lucy-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Desktop Only Alignment */
@media (min-width: 992px) {

    .lucy-brand-panel,
    .lucy-form-panel {
        min-height: 100vh;
    }

    .lucy-brand-panel {
        padding-left: 6rem;
    }
}

/* SweetAlert Dark Glass Theme Override */
.lucy-login-body .swal2-popup {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.lucy-login-body .swal2-title {
    color: #ffffff;
}

.lucy-login-body .swal2-html-container {
    color: #cbd5e1;
}

.lucy-login-body .swal2-success-circular-line-left,
.lucy-login-body .swal2-success-circular-line-right,
.lucy-login-body .swal2-success-fix {
    background-color: transparent !important;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .lucy-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
    }

    .lucy-brand-panel {
        padding: 2rem 1.5rem 0.5rem 1.5rem;
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .lucy-logo-wrap {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 0;
    }

    .lucy-logo-icon {
        font-size: 2.5rem;
    }

    .lucy-logo-title {
        font-size: 1.6rem;
    }

    .lucy-form-panel {
        padding: 1rem 1.5rem 2rem 1.5rem;
        align-items: flex-start;
        min-height: auto;
    }

    .lucy-glass-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
    }

    .lucy-card-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .lucy-input-group {
        margin-bottom: 1rem;
    }

    .lucy-input {
        padding: 0.7rem 1rem;
        padding-right: 2.5rem;
        font-size: 0.9rem;
    }

    .lucy-checkbox-group {
        margin-bottom: 1.5rem;
    }

    .lucy-btn-primary {
        padding: 0.7rem;
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .lucy-btn-secondary {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .css-abstract-shape {
        top: -5%;
        left: -10%;
        width: 80vw;
        height: 80vw;
        opacity: 0.25;
        filter: blur(80px);
    }

    .css-abstract-shape-2 {
        bottom: 10%;
        right: -10%;
        width: 90vw;
        height: 90vw;
        opacity: 0.15;
        filter: blur(100px);
    }
}

/* =========================================
   🧊 ARCTIC FROST THEME — Cold Store SaaS
   Inspired by SchoolX, adapted for Cold Store
   ========================================= */

.dashboard-body {
    background-color: #f0f4f8;
    color: #334155;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0f172a;
}

/* Layout */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* ---- SIDEBAR (White, SchoolX-inspired) ---- */
#sidebar {
    width: 230px;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e8ecf2;
    box-shadow: none;
}

#content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: #f0f4f8;
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    #sidebar {
        position: fixed;
        left: -250px;
        z-index: 1040;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #sidebar.active {
        left: 0;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.5);
        z-index: 1030;
        backdrop-filter: blur(4px);
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .main-content {
        padding: 1rem !important;
        padding-bottom: 70px !important;
        /* Space for bottom nav */
    }

    .top-navbar {
        padding: 0.5rem 1rem !important;
    }

    .btn-back-premium {
        width: 32px;
        height: 32px;
    }

    .btn-back-premium i {
        font-size: 0.9rem;
    }
}

/* ---- BOTTOM NAVIGATION (Mobile) ---- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1020;
    border-top: 1px solid #e8ecf2;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
    transition: all 0.2s ease;
}

.bottom-nav-item i {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #0284c7;
}

.bottom-nav-item.active i {
    color: #0284c7;
    transform: scale(1.1);
}

/* Sidebar Header */
.sidebar-header {
    height: 64px !important;
    max-height: 64px !important;
    padding: 0 1.25rem;
    box-sizing: border-box !important;
    margin: 0 -1px 0 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: none;
    background: #0f172a;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.sidebar-logo-text {
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.3px;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
    list-style: none;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.nav-item {
    margin: 2px 0.75rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s ease;
    gap: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-link:hover {
    color: #0284c7;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
}

.nav-link.active {
    color: #0284c7;
    background: linear-gradient(90deg, #f0f9ff 0%, #e0f2fe 100%);
    font-weight: 600;
    border-left: 3px solid #0284c7;
    box-shadow: none;
}

.nav-link i {
    font-size: 1rem;
    width: 22px;
    text-align: center;
}

.nav-link.active i {
    color: #0284c7;
}

/* Sidebar Logout */
#sidebar .text-danger {
    color: #ef4444 !important;
    font-size: 0.9rem;
}

#sidebar .text-danger:hover {
    color: #dc2626 !important;
    background: #fef2f2;
    border-radius: 8px;
}

/* ---- TOP NAVBAR (Rich Gradient, SchoolX-inspired) ---- */
.top-navbar {
    height: 64px !important;
    max-height: 64px !important;
    padding: 0 1.5rem;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important;
    flex-shrink: 0 !important;
    background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 50%, #155e75 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 10;
    border: none;
}

.profile-dropdown-toggle::after {
    display: none;
    /* Hide the dropdown chevron */
}

.profile-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.profile-dropdown-toggle:hover .profile-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar-toggler-icon-custom {
    color: #e0f2fe;
    cursor: pointer;
    font-size: 1.1rem;
}

.navbar-greeting {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.navbar-username {
    color: #e0f2fe;
    font-size: 0.85rem;
}

.top-navbar .nav-link {
    color: #cbd5e1;
}

.top-navbar .dropdown-menu-dark {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---- MAIN CONTENT ---- */
.main-content {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.modern-card {
    background: #ffffff;
    border-radius: 14px;
    border: none;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    width: 100%;
}

/* ---- SUMMARY CARDS (Left Border Accent, SchoolX style) ---- */
.summary-card {
    background: #ffffff;
    border-radius: 14px;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
}

.card-frost-1::before {
    background: linear-gradient(180deg, #06b6d4, #22d3ee);
}

.card-frost-2::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.card-frost-3::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.card-frost-4::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Summary Icons */
.summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.icon-frost-teal {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.icon-frost-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.icon-frost-emerald {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.icon-frost-amber {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

/* Legacy icon compat */
.icon-purple {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.icon-cyan {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.icon-emerald {
    background: linear-gradient(135deg, #10b981, #34d399);
}

/* Typography */
.summary-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.summary-metric {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.metric-unit {
    font-size: 0.8rem;
    font-weight: 400;
    color: #94a3b8;
}

.metric-divider {
    color: #cbd5e1;
    font-weight: 300;
    margin: 0 2px;
}

.card-trend {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 0.25rem;
}

.card-trend .text-success {
    color: #059669 !important;
}

.card-trend .text-info {
    color: #0284c7 !important;
}

.card-trend .text-warning {
    color: #d97706 !important;
}

/* ---- BADGES ---- */
.badge {
    padding: 0.35em 0.8em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

.badge-stock-in {
    background-color: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

.badge-stock-out {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

.badge-token {
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    font-family: 'Outfit', monospace;
    font-weight: 700;
}

/* ---- BUTTONS ---- */
.btn-frost {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2);
    cursor: pointer;
}

.btn-frost:hover {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-outline-frost {
    color: #06b6d4;
    border: 1px solid #06b6d4;
    background: transparent;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-outline-frost:hover {
    background: #06b6d4;
    color: #ffffff;
}

/* ---- SUMMARY CARDS (Left Border Accent, SchoolX style) ---- */
.summary-card {
    background: #ffffff;
    border-radius: 14px;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
}

.card-frost-1::before {
    background: linear-gradient(180deg, #06b6d4, #22d3ee);
}

.card-frost-2::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.card-frost-3::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.card-frost-4::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Summary Icons */
.summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.icon-frost-teal {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.icon-frost-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.icon-frost-emerald {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.icon-frost-amber {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

/* Legacy icon compat */
.icon-purple {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.icon-cyan {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.icon-emerald {
    background: linear-gradient(135deg, #10b981, #34d399);
}

/* Typography */
.summary-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.summary-metric {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.metric-unit {
    font-size: 0.8rem;
    font-weight: 400;
    color: #94a3b8;
}

.metric-divider {
    color: #cbd5e1;
    font-weight: 300;
    margin: 0 2px;
}

.card-trend {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 0.25rem;
}

.card-trend .text-success {
    color: #059669 !important;
}

.card-trend .text-info {
    color: #0284c7 !important;
}

.card-trend .text-warning {
    color: #d97706 !important;
}

/* ---- BADGES ---- */
.badge {
    padding: 0.35em 0.8em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

.badge-stock-in {
    background-color: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

.badge-stock-out {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

.badge-token {
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
    font-family: 'Outfit', monospace;
    font-weight: 700;
}

/* ---- BUTTONS ---- */
.btn-frost {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2);
    cursor: pointer;
}

.btn-frost:hover {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-outline-frost {
    color: #06b6d4;
    border: 1px solid #06b6d4;
    background: transparent;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-outline-frost:hover {
    background: #06b6d4;
    color: #ffffff;
}

.btn-primary-light {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.2);
    cursor: pointer;
}

.btn-primary-light:hover {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary-light {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary-light:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* ---- TABLES ---- */
.table thead th {
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.85rem 1.1rem;
    background: transparent;
}

.table tbody td {
    vertical-align: middle;
    padding: 0.75rem 1.1rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table tbody tr:hover td {
    background-color: #f0f9ff;
}

.table.table-hover tbody tr:hover {
    --bs-table-hover-bg: #f0f9ff;
}

/* DataTables Overrides */
.dataTables_wrapper .dataTables_scrollBody {
    border-bottom: none !important;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    margin-left: 0.5rem;
    outline: none;
    box-shadow: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    color: #0f172a;
    background: #ffffff;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.dataTables_wrapper .dataTables_info {
    color: #64748b;
    font-size: 0.8rem;
    padding-top: 1rem;
    font-weight: 500;
}

table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
}

table.dataTable thead th {
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.85rem 1.1rem;
    background: #fafcff;
}

table.dataTable tbody td {
    vertical-align: middle;
    padding: 0.85rem 1.1rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    font-weight: 500;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #e2e8f0;
}

table.dataTable tbody tr:hover td {
    background-color: #f0f9ff;
}

/* Table SchoolX Container DataTables Specifics */
.table-premium-container .dataTables_wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table-premium-container .dataTables_filter {
    padding: 1rem 1.25rem 0.5rem;
    margin-bottom: 0;
}

.table-premium-container .dataTables_info {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 14px 14px;
    margin-bottom: 0;
    padding-top: 1rem !important;
}

.table-premium-container .dataTables_paginate {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 14px 14px;
    margin-top: 0;
}

.table-premium-container .dataTables_wrapper>.row {
    margin: 0;
}

.table-premium-container .dataTables_wrapper>.row:nth-child(2) {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.table-premium-container .dataTables_wrapper>.row:nth-child(2)>[class*="col-"] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.table-premium-container .dataTables_scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.table-premium-container .dataTables_scrollBody {
    flex: 1;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
}

/* ---- OCCUPANCY RING CHART ---- */
.occupancy-ring-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.occupancy-ring {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(6, 182, 212, 0.12));
}

.occupancy-center {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.occupancy-percent {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.occupancy-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-used {
    background: #06b6d4;
}

.dot-free {
    background: #e2e8f0;
}

/* ---- MODALS ---- */
.modal-content.light-modal {
    background: #ffffff;
    border-radius: 14px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-header.light-modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
}

.modal-title.light-modal-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.15rem;
}

.light-input-group {
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
}

.light-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.3rem;
}

.light-input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 0.45rem 0.85rem;
    padding-right: 2.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    outline: none;
}

.light-input:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.light-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Select2 inside light-input-group overrides */
.light-input-group .select2-container .select2-selection--single {
    height: 37px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.light-input-group .select2-container--default.select2-container--focus .select2-selection--single,
.light-input-group .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1) !important;
}

.light-input-group .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0.85rem !important;
    font-size: 0.85rem !important;
    color: #0f172a !important;
    line-height: 35px !important;
}

.light-input-group .select2-container .select2-selection--single .select2-selection__arrow {
    height: 35px !important;
    top: 1px !important;
    right: 8px !important;
}

/* ---- FOOTER ---- */
.footer {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
}

.attribution-text {
    color: #94a3b8;
    font-weight: 500;
}

.attribution-text span {
    color: #06b6d4;
    font-weight: 600;
}

/* ---- SCROLLBAR ---- */
#content::-webkit-scrollbar {
    width: 5px;
}

#content::-webkit-scrollbar-track {
    background: transparent;
}

/* Company Settings Image Upload UI */
.image-preview-container {
    width: 180px;
    height: 180px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.image-preview-container:hover {
    opacity: 0.8;
}

.signature-preview-container {
    width: 100%;
    max-width: 250px;
    height: 125px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.signature-preview-container:hover {
    opacity: 0.8;
}

.cropper-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cropper-img-wrapper {
    max-height: 400px;
    overflow: hidden;
}

.cropper-img-wrapper img {
    max-width: 100%;
}

.border-dashed {
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: #cbd5e1 !important;
}

/* ---- SCHOOLX DATATABLE CSS ---- */
.table-premium {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

table.dataTable.table-premium thead th,
.table-premium thead th {
    background: linear-gradient(180deg, #f1f5f9, #e2e8f0) !important;
    color: #334155 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.65rem 1rem !important;
    border-bottom: 1px solid #cbd5e1 !important;
    vertical-align: middle;
    white-space: nowrap;
}

/* Fix for DataTables scrollBody adding extra space when padding is !important */
.dataTables_scrollBody table.dataTable.table-premium thead th,
.dataTables_scrollBody table.dataTable.table-premium thead td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    height: 0 !important;
}

table.dataTable.table-premium tbody td,
.table-premium tbody td {
    padding: 0.65rem 1rem !important;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #ffffff;
}

.table-premium tbody tr:last-child td {
    border-bottom: none;
}

.table-premium tbody tr:hover td {
    background-color: #f8fafc !important;
}

.table-premium-container {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.table-premium-container .table-responsive {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* ---- PREMIUM GLOBAL MODAL THEME ---- */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 50%, #155e75 100%);
    border-bottom: none;
    padding: 0.75rem 1.25rem;
}

.modal-header .modal-title {
    color: #ffffff;
    /* Matches dashboard header text */
    font-weight: 600;
    font-size: 1.05rem;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 1.25rem;
}

/* ---- PREMIUM GLOBAL BUTTON THEME ---- */
.btn {
    border-radius: 6px;
    padding: 0.45rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 4px 6px rgba(2, 132, 199, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-light {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-light:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* ---- MODAL NAV THEME (Global Reusable) ---- */
.modal-nav-item {
    transition: all 0.2s ease;
    border-left: none !important;
}

.modal-nav-item i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.modal-nav-item:hover {
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #0f172a !important;
}

/* ==== PREMIUM BACK BUTTON ==== */
.btn-back-premium {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-back-premium i {
    font-size: 1.1rem;
    color: #0284c7;
    transition: transform 0.3s ease;
}

.btn-back-premium:hover {
    transform: translateX(-3px);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(2, 132, 199, 0.3);
}

.btn-back-premium:hover i {
    color: #0284c7;
    transform: scale(1.1);
}

.btn-back-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 132, 199, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-back-premium:hover::after {
    opacity: 1;
}

/* Select2 Premium Styling */
.select2-container .select2-selection--single {
    height: 48px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    background-color: var(--white) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01) inset !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 1rem !important;
    font-size: 0.95rem;
    color: var(--text-main) !important;
    line-height: 46px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    top: 1px !important;
    right: 15px !important;
}

.select2-dropdown {
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem !important;
}

.select2-search__field {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.85rem !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.select2-search__field:focus {
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1) !important;
}

.select2-results__option {
    border-radius: 6px !important;
    margin-bottom: 2px !important;
    padding: 8px 12px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color, #4361ee) !important;
}

/* Custom Table Filters */
.filter-container .select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    height: 36px !important;
    display: flex;
    align-items: center;
}

.filter-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 0.75rem !important;
    font-weight: 500;
    color: #1e293b;
}

.filter-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.filter-pill {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    padding-left: 1rem;
    transition: all 0.2s;
}

.filter-pill:hover,
.filter-pill:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   Custom Global Scrollbar
   ========================================================================== */
/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* Slate-300 */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    /* Slate-400 */
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* ==========================================================================
   Custom Global Scrollbar
   ========================================================================== */
/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* Slate-300 */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    /* Slate-400 */
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* ==========================================================================
   Premium Service Cards (Masters & Settings)
   ========================================================================== */
.service-card-premium {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.icon-box-br {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-blue {
    background: #eff6ff;
    color: #3b82f6;
}

.card-blue {
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.icon-rose {
    background: #fff1f2;
    color: #f43f5e;
}

.card-rose {
    border: 1px solid rgba(244, 63, 94, 0.2) !important;
}

.icon-green {
    background: #ecfdf5;
    color: #10b981;
}

.card-green {
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.icon-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.card-indigo {
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
}

.icon-yellow {
    background: #fefce8;
    color: #eab308;
}

.card-yellow {
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
}

.icon-purple {
    background: #faf5ff;
    color: #a855f7;
}

.card-purple {
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
}

.icon-teal {
    background: #f0fdfa;
    color: #14b8a6;
}

.card-teal {
    border: 1px solid rgba(20, 184, 166, 0.2) !important;
}

.animate-x {
    transition: transform 0.3s ease;
}

.service-card-premium:hover .animate-x {
    transform: translateX(5px);
}
/* ==========================================================================
   Premium Nav Tabs & Cards (Global Settings Pages)
   ========================================================================== */
.premium-card {
    border-radius: 12px;
}
@media (max-width: 576px) {
    .premium-card .card-body {
        padding: 1rem !important;
    }
}

.nav-tabs-premium {
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.nav-tabs-premium::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.nav-tabs-premium .nav-item {
    margin-bottom: -1px;
    white-space: nowrap;
}
.nav-tabs-premium .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0;
    background: transparent;
    transition: all 0.2s ease;
}
.nav-tabs-premium .nav-link:hover {
    color: #0284c7;
    border-color: transparent;
}
.nav-tabs-premium .nav-link.active {
    color: #0284c7 !important;
    background: transparent !important;
    border-color: #0284c7 !important;
}

@media (max-width: 576px) {
    .nav-tabs-premium .nav-link {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
    }
}


/* Brand Logo Animations */
@keyframes brand-float-icon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}
.brand-icon-animate {
    animation: brand-float-icon 4s ease-in-out infinite;
}

@keyframes brand-spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.brand-snowflake-animate {
    animation: brand-spin-slow 6s linear infinite;
}
