/* ===============================================
Auth Page Css Start
=============================================== */
.auth-page{
    min-height: inherit;
    display: flex;
    align-items: center;

    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* padding: 100px 0; */
    padding-top: 50px;
    padding-bottom: 50px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    background: var(--ColorPrimary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--BoxShadow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.auth-logo i {
    font-size: 32px;
    color: var(--ColorLightPrimary);
}

.auth-title {
    font-size: var(--FontSizeExtraLarge);
    color: var(--ColorDarkPrimary);
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-subtitle {
    color: var(--ColorDarkSecondary);
    font-size: var(--FontSizeSmall);
}



.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ColorDarkSecondary);
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--ColorPrimary);
    background: rgba(var(--ColorPrimaryRGB), 0.1);
}

.password-toggle:focus {
    outline: none;
    color: var(--ColorPrimary);
    background: rgba(var(--ColorPrimaryRGB), 0.1);
}

/* Unused - only in old commented code */
/*
.forgot-link {
    text-align: center;
    margin-bottom: 30px;
}

.forgot-link a {
    color: var(--ColorPrimary);
    text-decoration: none;
    font-size: var(--FontSizeSmall);
    transition: all 0.3s ease;
}

.forgot-link a:hover {
    color: var(--ColorDarkPrimary);
    text-decoration: underline;
}
*/

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ColorLightSecondary, #e2e8f0);
    transform: translateY(-50%);
    z-index: 0;
}

.divider span {
    background: var(--ColorLightPrimary, #ffffff);
    padding: 12px 24px;
    color: var(--ColorDarkSecondary, #64748b);
    font-size: var(--FontSizeExtraSmall, 14px);
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid var(--ColorPrimary, #6366f1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Unused - auth-btn class not used in auth forms */
/*
.auth-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.auth-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--ColorLightPrimary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
*/


/* ===============================================
Auth Components CSS - Registration & Login
=============================================== */


.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--border, #e2e8f0);
    z-index: 0;
}

.step-indicator::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    height: 3px;
    background: var(--ColorPrimary, #6366f1);
    z-index: 1;
    transition: width 0.4s ease;
}

.step-indicator[data-step="1"]::after { width: 0%; }
.step-indicator[data-step="2"]::after { width: calc(50% - 20px); }
.step-indicator[data-step="3"]::after { width: calc(100% - 40px); }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ColorLightPrimary, #ffffff);
    border: 3px solid var(--border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary, #64748b);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.step.active .step-number {
    background: var(--ColorPrimary, #6366f1);
    border-color: var(--ColorPrimary, #6366f1);
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: var(--ColorPrimary);
    border-color: var(--ColorPrimary);
    color: var(--ColorLightPrimary);
}

.step.completed .step-number::after {
    content: '✓';
    font-size: 16px;
}

.step-label {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--ColorPrimary, #6366f1);
    font-weight: 600;
}


.contact-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: var(--bg-secondary, #f8fafc);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.contact-tab {
    padding: 14px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-tab:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--ColorPrimary, #6366f1);
}

.contact-tab.active {
    background: var(--ColorPrimary, #6366f1);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.contact-tab i {
    font-size: 18px;
}

/* .contact-tabs {
    margin-bottom: 24px;
} */

.contact-tabs .tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.contact-tabs .tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Unused - country-code class not used, using form-control instead */
/*
.country-code {
    width: 100px;
    padding: 15px 12px;
    border: 2px solid var(--ColorPrimary);
    border-radius: 15px 0 0 15px;
    border-right: none;
    font-size: 15px;
    background: var(--ColorLightPrimary);
    color: var(--ColorDarkPrimary);
    outline: none;
}
*/


/* OTP Boxes - Reusable for registration, forgot password, and contact */
#signup-step-2 .otp-boxes,
#forgot-step-2 .otp-boxes,
#contact-step-2 .otp-boxes {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

#signup-step-2 .otp-box,
#forgot-step-2 .otp-box,
#contact-step-2 .otp-box {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid var(--border, #e2e8f0);
    border-radius: 12px;
    background: var(--ColorLightPrimary, #ffffff);
    color: var(--ColorDarkPrimary, #0f172a);
    transition: all 0.3s ease;
    outline: none;
}

#signup-step-2 .otp-box:focus,
#forgot-step-2 .otp-box:focus,
#contact-step-2 .otp-box:focus {
    border-color: var(--ColorPrimary, #6366f1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

#signup-step-2 .otp-box.filled,
#forgot-step-2 .otp-box.filled,
#contact-step-2 .otp-box.filled {
    border-color: var(--ColorPrimary, #6366f1);
    background: rgba(99, 102, 241, 0.1);
}

#signup-step-2 .otp-box.error,
#forgot-step-2 .otp-box.error,
#contact-step-2 .otp-box.error {
    border-color: var(--error, #ef4444);
    background: rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}


.contact-display {
    background: var(--ColorLightSecondary);
    border-radius: 12px;
    padding: 16px;
    /* margin-bottom: 24px; */
    text-align: center;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ColorPrimary);
    font-weight: 600;
}

.contact-info i {
    font-size: 18px;
}


#signup-step-2 .otp-help,
#forgot-step-2 .otp-help,
#contact-step-2 .otp-help {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary, #64748b);
    margin-top: 12px;
    font-weight: 500;
}

#signup-step-2 .otp-help strong,
#forgot-step-2 .otp-help strong,
#contact-step-2 .otp-help strong {
    color: var(--ColorPrimary, #6366f1);
    font-weight: 600;
}


/* #signup-step-2 .resend-section {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: var(--bg-secondary, #f8fafc);
    border-radius: 12px;
} */

#signup-step-2 .btn-link {
    background: none;
    color: var(--ColorPrimary, #6366f1);
    border: 2px solid var(--ColorPrimary, #6366f1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    display: inline-block;
}

#signup-step-2 .btn-link:hover:not(:disabled) {
    background: var(--ColorPrimary, #6366f1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

#signup-step-2 .btn-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border, #e2e8f0);
    color: var(--text-secondary, #64748b);
}

#signup-step-2 .timer,
#forgot-step-2 .timer,
#contact-step-2 .timer {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    font-weight: 500;
}

/* #signup-step-2 .back-btn {
    text-align: center;
    margin-top: 20px;
} */

#signup-step-2 .back-btn .btn-link {
    background: none;
    color: var(--text-secondary, #64748b);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#signup-step-2 .back-btn .btn-link:hover {
    background: var(--bg-secondary, #f8fafc);
    color: var(--ColorDarkPrimary, #0f172a);
    border-color: var(--text-secondary, #64748b);
}


.login-tabs { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
    background: var(--bg-secondary, #f8fafc); 
    padding: 6px; 
    border-radius: 12px; 
    margin-bottom: 16px; 
}

.login-tab { 
    border: 0; 
    padding: 12px 14px; 
    border-radius: 10px; 
    font-weight: 600; 
    color: #64748b; 
    background: transparent; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
}

.login-tab.active { 
    background: var(--ColorPrimary, #6366f1); 
    color: #fff; 
    box-shadow: 0 4px 12px rgba(99,102,241,.25); 
}

.tab-pane { 
    display: none; 
}

.tab-pane.active { 
    display: block; 
}

.form-wrap { 
    margin-bottom: 14px; 
}

.auth-actions { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 10px; 
    margin-top: 6px; 
}

.remember-wrap { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.btn .btn-text { 
    pointer-events: none; 
}

.hidden {
    display: none !important;
}
/* ===============================================
Auth Page Css End
=============================================== */


/* ===============================================
Form Error & Message System
=============================================== */

/* --- Invalid Form Controls --- */
.is-invalid { 
    border-color: #ef4444 !important; 
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* --- Error Messages --- */

/* Base error message - for inline field errors */
.error-message {
    display: none;
    margin-top: 6px;
    color: #ef4444;
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    border-radius: 8px;
    animation: slideInDown 0.3s ease-out;
}

/* Show error message when not hidden */
.error-message:not(.hidden) {
    display: block !important;
}

.error-message i {
    margin-right: 6px;
    color: #ef4444;
}

.error-message .error-text {
    display: block;
}

/* Support for multiple errors in error-text */
.error-message .error-text > div {
    margin-top: 4px;
    line-height: 1.4;
}

.error-message .error-text > div:first-child {
    margin-top: 0;
}

/* General error message - for form-level errors */
.error-message.general {
    display: block;
    margin-top: 0;
    margin-bottom: 20px;
    background: #fee;
    color: #c33;
    padding: 12px 15px;
    border-left: 4px solid #c33;
    border-radius: 10px;
    font-size: var(--FontSizeExtraSmall, 14px);
    animation: shake 0.5s ease-in-out;
}

.error-message.general.hidden {
    display: none;
}

/* Bootstrap-style invalid feedback */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: var(--FontSizeExtraSmall, 14px);
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #dc3545;
    animation: slideInDown 0.3s ease-out;
}

/* --- Success Messages --- */
.success-message {
    display: block;
    background: #efe;
    color: #363;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: var(--FontSizeExtraSmall, 14px);
    border-left: 4px solid #363;
    animation: slideInDown 0.5s ease-out;
}

.success-message.hidden {
    display: none;
}

.success-message i {
    margin-right: 8px;
    color: #363;
}

/* --- Warning Messages --- */
.warning-message {
    display: block;
    background: #fffbeb;
    color: #92400e;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: var(--FontSizeExtraSmall, 14px);
    border-left: 4px solid #f59e0b;
    animation: slideInDown 0.5s ease-out;
}

.warning-message.hidden {
    display: none;
}

.warning-message i {
    margin-right: 8px;
    color: #f59e0b;
}

/* --- Info Messages --- */
.info-message {
    display: block;
    background: #eff6ff;
    color: #1e40af;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: var(--FontSizeExtraSmall, 14px);
    border-left: 4px solid #3b82f6;
    animation: slideInDown 0.5s ease-out;
}

.info-message.hidden {
    display: none;
}

.info-message i {
    margin-right: 8px;
    color: #3b82f6;
}

/* --- Animations --- */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===============================================
Form Error & Message System End
=============================================== */






/* button css start  */
.btn {
    padding: auto 20px !important;
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn > i{
    margin-bottom: 3px;;
}
.btn-pill {
    border-radius: 50px;
}

.btn-theme {
    /* border-radius: 50px; */
    background: var(--ColorPrimary);
    color: var(--ColorLightPrimary);
    /* display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; */
    overflow: hidden;
    transition: .2s linear;
    position: relative;
    box-shadow: var(--BoxShadow) !important;
    z-index: 2;
    border: 1px solid var(--ColorPrimary);
    min-height: 40px;
}

.btn-theme:hover {
    color: var(--ColorPrimary);
    background: var(--ColorLightPrimary);
    border: 1px solid var(--ColorPrimary);
}

.btn-theme:focus {
    outline: none !important;
    box-shadow: var(--BoxShadow);
}

.btn-theme:active {
    box-shadow: var(--BoxShadow);
}

.btn-theme,
.btn-theme * {
    position: relative;
    z-index: 2;
}





.btn-theme-light {
    border-radius: 10px;
    background: var(--ColorLightPrimary);
    color: var(--ColorPrimary);
    /* display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; */
    overflow: hidden;
    transition: .2s linear;
    position: relative;
    box-shadow: var(--BoxShadow) !important;
    z-index: 2;
    border: 1px solid var(--ColorLightPrimary);
    min-height: 40px;
}

.btn-theme-light:hover {
    color: var(--ColorLightPrimary);
    background: var(--ColorPrimary);
    border: 1px solid var(--ColorLightPrimary);
}

.btn-theme-light:focus {
    outline: none !important;
    box-shadow: var(--BoxShadow);
}

.btn-theme-light:active {
    box-shadow: var(--BoxShadow);
}

.btn-theme-light,
.btn-theme-light * {
    position: relative;
    z-index: 2;
}





.btn-icon {
    min-height: 40px;
    min-width: 40px;
}







/* Ripple effect */
.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--ColorPrimary);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 1; /* always behind the content */
    opacity: 0;
}

/* Ripple animation when active */
.ripple:active::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* Ripple animation class for after click release */
.ripple.ripple-animating::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* Ripple shrinking animation */
.ripple.ripple-shrinking::before {
    width: 0;
    height: 0;
    opacity: 0;
}

/* CRITICAL FIX: Override hover state during active ripple */
.btn-theme.ripple:active,
.btn-theme.ripple:active *,
.ripple:active,
.ripple:active * {
    color: var(--ColorLightPrimary) !important;
    transition: color 0.3s ease-in-out !important;
}

/* button css end  */











/* ==========================================================================
   MODERN ASSET SHEBA CSS - CLEAN VERSION
   ========================================================================== */

/* Hide native search clear button */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* ==========================================================================
   LAYOUT & RESPONSIVE
   ========================================================================== */



/* ====================================
   HEADER BASE
==================================== */
header {
    background: var(--ColorLightPrimary);
    border-bottom: 1px solid var(--ColorPrimaryAlpha);
    box-shadow: var(--BoxShadow);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header .side-content {
    display: flex;
    align-items: center;
    height: auto;
}

/* ====================================
   LEFT & RIGHT SIDE CONTENT
==================================== */
header .left-side .side-content,
header .right-side .side-content {
    min-width: 300px;
    max-width: 300px;
}

@media (max-width: 1200px) {
    header .left-side .side-content,
    header .right-side .side-content {
        width: auto !important;
        min-width: auto !important;
        max-width: 100% !important;
    }
}
/* ====================================
   RIGHT SIDE MOBILE FIXED
==================================== */
@media (max-width: 991.98px) {
    header .right-side {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        background: var(--ColorLightPrimary);
        z-index: 1000;
        padding: 10px;
        border-radius: 10px 10px 0 0;
        height: auto !important;
        justify-content: center;
        gap: 10px;
    }
}

/* ====================================
   LEFT SIDE MOBILE
==================================== */
/* @media (max-width: 991.98px) {
    .left-side .side-content {
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 10px;
    }
} */

/* ====================================
   BUTTONS & BRAND
==================================== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img {
    height: 50px;
    width: auto;
}

/* ====================================
   MOBILE HEADER PADDING ADJUST
==================================== */




/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
    font-weight: 400;
    padding: 10px 20px;
    position: relative;
    white-space: nowrap;
    color: var(--ColorPrimary);
    font-size: var(--FontSizeSmall) !important;
    /* margin: 0 6px; */
    border-radius: 100px;
    text-align: start;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: start;
    min-height: 50px;
    min-width: 50px;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    user-select: none;
    text-decoration: none;
    padding-bottom: 15px;;
}

.nav-link span {
    margin-top: 6px;
}

.navbar-nav .nav-item .nav-link.active {
    background: var(--ColorPrimary);
    color: var(--ColorLightPrimary);
}

.navbar-nav .nav-item .nav-link:hover {
    background: var(--ColorLightPrimary);
    color: var(--ColorPrimary);
    box-shadow: var(--BoxShadow);
}

.navbar-nav .nav-item .nav-link:focus {
    outline: none;
    box-shadow: var(--BoxShadow);
}

.navbar-nav .nav-item .nav-link:active {
    box-shadow: var(--BoxShadow);
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-item .nav-link {
        margin: 0;
    }
}




/* ==========================================================================
   DROPDOWN
   ========================================================================== */
@media (max-width: 1199.98px) {
    #nav .navbar-nav .nav-item:not(.dropdown) .nav-link {
        gap: 0;
    }
    #nav .navbar-nav .nav-item .nav-link span {
        display: none;
    }
}

.navbar-nav .nav-item .dropdown-toggle:hover {
    background: var(--ColorLightPrimary);
    color: var(--ColorPrimary);
    box-shadow: var(--BoxShadow);
}

.navbar-nav .nav-item .dropdown-toggle:focus {
    outline: none;
    box-shadow: var(--BoxShadow);
}

.navbar-nav .nav-item .dropdown-toggle:active {
    box-shadow: var(--BoxShadow);
}

/* Modern Dropdown Styling */
.dropdown-menu {
    background: var(--ColorLightPrimary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--ColorPrimaryAlpha);
    border-radius: 12px;
    box-shadow: var(--BoxShadow);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 250px;
    max-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: auto;
    z-index: 1050;
}

/* Dropdown positioning for different screen sizes */
@media (max-width: 1200px) {
    .dropdown-menu {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: calc(100vw - 20px);
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .dropdown-menu {
        left: 5px;
        right: 5px;
        max-width: calc(100vw - 10px);
    }
}


.dropdown-menu{
    padding: 10px;
}
.dropdown-menu .dropdown-header {
    color: var(--ColorLightPrimary);
    font-weight: 700;
    font-size: var(--FontSizeSmall);
    background: var(--ColorPrimary);
    border-radius: 10px;
    padding: 10px;
}
.dropdown-menu .dropdown-footer {
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu .dropdown-footer:hover {
    background: var(--ColorPrimary) !important;
    color: var(--ColorLightPrimary) !important;
    box-shadow: var(--BoxShadow);
    cursor: pointer;
}

.dropdown-menu .dropdown-divider {
    margin: 8px 0;
    border-color: var(--ColorPrimaryAlpha);
}

.dropdown-menu .dropdown-item {
    color: var(--ColorDarkPrimary);
    font-size: var(--FontSizeSmall);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
}
.dropdown-menu .dropdown-item:hover {
    background: var(--ColorPrimaryAlpha);
    color: var(--ColorPrimary);
    box-shadow: var(--BoxShadow);
}

.dropdown-menu .dropdown-item:active {
    background: var(--ColorPrimary);
    color: var(--ColorLightPrimary);
}

/* Dropdown Arrow Animation */
.dropdown-toggle::after {
    display: none; /* Hide default Bootstrap arrow */
}

/* Custom dropdown icon */
.dropdown-toggle::after {
    content: "\f107"; /* FontAwesome chevron-down icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
    margin-left: 8px;
    display: inline-block;
    border: none; /* Remove default border */
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: start;
}
.dropdown-item span {
    margin-top: 5px;
}





/* ==========================================================================
   BANNER
   ========================================================================== */

.banner_content {
    padding: 10px;
}

.banner_content .banner_text {
    font-family: var(--FontSecondary);
    font-size: 60px;
    padding: 10px;
    margin: 20px 0;
    text-shadow: 1px 1px 1px var(--ColorDarkPrimary);
    color: var(--ColorLightPrimary);
    line-height: 40px;
}

@media (max-width: 767.98px) {
    .banner_slider_wrap .slick-dots {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .banner_slider .left_btn,
    .banner_slider .right_btn {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* ==========================================================================
   DEPARTMENTS SECTION
   ========================================================================== */

/* Department cards */
.department-card {
    background: var(--ColorLightPrimary);
    border-radius: 24px;
    box-shadow: var(--BoxShadow);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.department-card:hover {
    box-shadow: var(--BoxShadowHover);
}

/* Card header */

.department-card .card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-size: var(--FontSizeLarge);
    font-weight: 600;
    color: var(--ColorDarkPrimary);
}

.department-card .card-icon {
    width: 50px;
    height: 50px;
    background:  var(--ColorPrimary);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(16, 124, 65, 0.3);
}

.department-card .stats-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--FontSizeExtraSmall);
    font-weight: 600;
    color: var(--ColorPrimary);
    border: 1px solid rgba(16, 124, 65, 0.1);
}


/* ==========================================================================
   MARKETPLACE POST/AD CARDS
   ========================================================================== */

.marketplace_card {
    background: var(--ColorLightPrimary);
    box-shadow: var(--BoxShadow);
    border-radius: 10px;
    border: 1px solid var(--ColorPrimary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.marketplace_card:hover {
    box-shadow: var(--BoxShadow);
    border: 1px solid var(--ColorPrimary);
}


