    :root {
    --primary-color: #1877f2; 
    --secondary-color: #28a745; 
    --danger-color: #dc3545;
    --light-gray: #f0f2f5; 
    --white-color: #ffffff; 
    --dark-text: #333;
    --placeholder-color: #a9a9a9; 
    --warning-color: #f0ad4e; 
    --info-color: #f0ad4e;
    --title-red-color: #E53935;
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    
    
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;
}


.text-gray-500 { color: var(--text-tertiary) !important; }
.text-gray-600 { color: var(--text-secondary) !important; }
.text-gray-700 { color: var(--text-secondary) !important; }
.text-gray-800 { color: var(--text-primary) !important; }
.text-gray-900 { color: var(--text-primary) !important; }
.text-black { color: var(--text-primary) !important; }
        
    body {
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--dark-text);
    margin: 0;
    padding-bottom: 80px;
    font-weight: 400;
    text-align: center;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    overscroll-behavior-y: none;
    position: relative;
    z-index: 0;
}

    body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 50%, #e26a76 100%);
    filter: saturate(1.05) brightness(1.03);
    transition: background 0.3s;
}


/* ===== Login Reg Reset Page Logo Add ===== */

.form-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.title-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

/* ===== NEW MODERN CARD DESIGN ===== */

.glass-panel {
    background: rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 20px !important;
    padding: 30px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.glass-panel h3 {
    color: #0f172a;
    font-size: 26px;
    font-weight: bold;
}

/* Legacy form-input overrides removed to allow modern floating-group styling */

.form-btn.login {
    background: #38bdf8 !important;
    color: #0f172a !important;
    border-radius: 30px;
    font-weight: bold;
    padding: 12px;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
    transition: 0.3s;
}

/* Hover effect */
.form-btn.login:hover {
    background: #0ea5e9 !important;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.45);
    transform: translateY(-1px) scale(1.02);
}

.form-link {
    color: #0284c7 !important;
}



.list-section,
#filtered-donors-section,
#all-donors-section,
.list-section.donors,
.list-section.foundations,
.list-section.volunteers {
    margin: 16px 4px 4px 4px !important;
    padding: 16px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

#findPageStats.list-section {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}

.donor-card-animated {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}

.donor-card-animated:hover {
    background: rgba(255, 255, 255, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

.form-input, 
.form-textarea, 
.date-wrapper .placeholder {
    color: #222 !important;
}
.custom-dropdown .dropdown-header {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.form-input:focus, 
.form-textarea:focus {
    background: rgba(255, 255, 255, 0.45) !important;
    border-color: #1877f2 !important;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2) !important;
}

    .review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transform: translateZ(0);
}

    .notice-popup-img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .notice-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transform: translateZ(0);
}

    .current-notice-card {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    transform: translateZ(0);
}

    .donor-card-animated:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

    .pin-wrapper {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
    max-width: 100%;
}

    .pin-box {
    width: 48px;
    height: 52px;
    max-width: 14vw;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: var(--dark-text);
    background: #ffffff;
    transition: all 0.2s;
    outline: none;
    box-shadow: none !important;
}

    .pin-box:focus {
    border-color: #1877f2;
}

    .pin-box.filled {
    border-color: #22c55e;
}

    .pin-box.error {
    border-color: #dc3545;
    animation: shake 0.3s;
}


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

    .input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.3) !important;
    animation: shake 0.3s ease-in-out;
}
    


    @keyframes fadeInUpSmooth {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

    .donor-card-animated {
    opacity: 0;
    animation: fadeInUpSmooth 0.3s ease-out forwards;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 26px;
    will-change: transform, opacity;
    transform: translateZ(0);
}

    .donor-card-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}


        
    .floating-group {
        position: relative;
        width: 100%;
    }
    
    .input-group-card {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 15px;
        border: none;
        position: relative;
    }
    

    
    .form-input {
        width: 100%;
        min-height: 58px;
        padding: 24px 38px 8px 14px !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 12px !important;
        font-family: 'Hind Siliguri', sans-serif !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        line-height: 1.35 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
        transition: all 0.25s ease;
        outline: none;
        box-sizing: border-box;
    }
    
    .form-input:focus {
        border-color: #1877f2 !important;
        background: #ffffff !important;
        box-shadow: 0 4px 18px rgba(24, 119, 242, 0.16) !important;
        transform: translateY(-1px);
    }
    
    .floating-label {
        position: absolute !important;
        top: 50% !important;
        left: 14px !important;
        transform: translateY(-50%) !important;
        font-family: 'Hind Siliguri', sans-serif !important;
        font-size: 14px !important;
        color: #64748b !important;
        pointer-events: none !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background-color: transparent !important;
        line-height: 1.2 !important;
        z-index: 5 !important;
    }
    
    .form-input:focus ~ .floating-label,
    .form-input:not(:placeholder-shown) ~ .floating-label {
        top: 6px !important;
        transform: none !important;
        font-size: 11.5px !important;
        color: #475569 !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }
    
    .form-input:focus ~ .floating-label {
        color: #1877f2 !important;
    }
    
    .form-input-icon {
        position: absolute !important;
        right: 14px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #94a3b8 !important;
        font-size: 15px !important;
        pointer-events: none !important;
        z-index: 5 !important;
        transition: color 0.25s ease !important;
    }

    .floating-group:focus-within .form-input-icon {
        color: #1877f2 !important;
    }

    .custom-dropdown .dropdown-header.form-input {
        min-height: 58px !important;
        padding: 14px 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }


        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        @keyframes fadeInZoom { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
        @keyframes fadeOutZoom { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.95); } }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes slideUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-50px); } }
        @keyframes pulse-shadow { 0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); } }
        @keyframes pulse-bell { 0% { transform: scale(1); } 50% { transform: scale(1.15); color: #ff0000; } 100% { transform: scale(1); } }
        @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
        @keyframes page-enter { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
        @keyframes page-exit { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-20px); } }
        
        @keyframes cardFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes navSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        
        html { 
            scroll-behavior: auto !important; 
            overscroll-behavior-y: none;
            height: 100%;
        }
        body { 
            font-family: 'Hind Siliguri', sans-serif; 
            color: var(--dark-text); 
            margin: 0; 
            padding-bottom: 80px; 
            font-weight: 700; 
            text-align: center; 
            transition: background-color 0.3s, color 0.3s;
            min-height: 100vh;
            min-height: 100dvh;
            box-sizing: border-box;
            overscroll-behavior-y: none;
            display: flex;
            flex-direction: column;
        }
        h1, h2, h3, h4, strong, b, .font-bold {
    font-weight: 700 !important;
}

body {
    font-weight: 400 !important;
}

i, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-weight: 900 !important;
}

        
        .page, .sub-page { display: none; animation: none !important; opacity: 1 !important; transform: none !important; }
        
        .page.active { 
            display: flex; 
            flex-direction: column;
            flex: 1 0 auto;
            width: 100%;
            animation: none !important; 
            opacity: 1 !important; 
            transform: none !important; 
        }
        .sub-page.active { 
            display: block; 
            animation: none !important; 
            opacity: 1 !important; 
            transform: none !important; 
        }
        
        #profileLoggedInView .form-label { margin-bottom: 2px; }
        #profileLoggedInView .date-wrapper { margin-bottom: 8px !important; }
        #profileLoggedInView hr.my-2 { margin-top: 8px; margin-bottom: 8px; }
        
        .main-header img { animation: none !important; }
        .main-header h1 { animation: none !important; }
        .main-header .notice-bar { animation: none !important; }
        
        /* ==============================================================================
           Splash Screen / App Entry Loading Screen (Nakla Sherpur Blood Bank)
           Exact Match to Reference Design
           ============================================================================== */
        #pageLoaderOverlay,
        .splash-screen-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999999;
            opacity: 1;
            overflow-x: hidden;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            transition: opacity 0.16s cubic-bezier(0.4, 0, 0.2, 1), transform 0.16s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: auto;
        }

        html.dark #pageLoaderOverlay,
        html.dark .splash-screen-overlay {
            background-color: #0f172a;
        }

        #pageLoaderOverlay.splash-fade-out,
        .splash-screen-overlay.splash-fade-out {
            opacity: 0 !important;
            transform: scale(1.02) !important;
            pointer-events: none !important;
        }

        .splash-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 440px;
            padding: 32px 20px;
            margin: auto;
            text-align: center;
            animation: splashContainerEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            user-select: none;
            -webkit-user-select: none;
        }

        @keyframes splashContainerEntrance {
            0% {
                opacity: 0;
                transform: scale(0.96) translateY(8px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        /* 1. Logo Card */
        .splash-logo-card {
            width: 108px;
            height: 108px;
            background: #ffffff;
            border-radius: 28px;
            box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px;
            margin-bottom: 20px;
            transition: transform 0.3s ease;
        }

        html.dark .splash-logo-card {
            background: #1e293b;
            border-color: rgba(255, 255, 255, 0.08);
            box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5);
        }

        .splash-logo-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.06));
        }

        /* 2. English Title */
        .splash-title {
            font-family: 'Roboto', sans-serif;
            font-size: 17.5px;
            font-weight: 800;
            color: #d32f2f;
            letter-spacing: 0.9px;
            margin: 0 0 14px 0;
            text-transform: uppercase;
            text-align: center;
            line-height: 1.3;
        }

        html.dark .splash-title {
            color: #ef4444;
        }

        /* 3. Divider with Mini Drop */
        .splash-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 250px;
            max-width: 80%;
            margin-bottom: 18px;
        }

        .splash-divider-line {
            flex: 1;
            height: 1.5px;
            border-radius: 9999px;
        }

        .splash-divider-line.left {
            background: linear-gradient(90deg, transparent 0%, #d32f2f 100%);
        }

        .splash-divider-line.right {
            background: linear-gradient(90deg, #d32f2f 0%, transparent 100%);
        }

        html.dark .splash-divider-line.left {
            background: linear-gradient(90deg, transparent 0%, #ef4444 100%);
        }

        html.dark .splash-divider-line.right {
            background: linear-gradient(90deg, #ef4444 0%, transparent 100%);
        }

        .splash-mini-drop {
            flex-shrink: 0;
        }

        html.dark .splash-mini-drop path {
            fill: #ef4444;
        }

        /* 4. Primary Bengali Slogan */
        .splash-slogan {
            font-family: 'Hind Siliguri', sans-serif;
            font-size: 32px;
            font-weight: 800;
            color: #d32f2f;
            line-height: 1.25;
            margin: 0 0 8px 0;
            text-align: center;
        }

        html.dark .splash-slogan {
            color: #ef4444;
        }

        /* 5. Secondary Bengali Subtitle */
        .splash-subtitle {
            font-family: 'Hind Siliguri', sans-serif;
            font-size: 15px;
            font-weight: 500;
            color: #4b5563;
            line-height: 1.45;
            margin: 0 0 32px 0;
            text-align: center;
        }

        html.dark .splash-subtitle {
            color: #9ca3af;
        }

        /* 6. Central Illustration: Big Blood Drop with Heart & ECG Line */
        .splash-illustration-wrapper {
            width: 100%;
            max-width: 340px;
            margin: 0 auto 36px auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .splash-ecg-svg {
            width: 100%;
            height: auto;
            overflow: visible;
        }

        .splash-blood-drop-group {
            transform-origin: 170px 105px;
            animation: splashHeartbeat 2.2s ease-in-out infinite;
        }

        @keyframes splashHeartbeat {
            0%, 100% { transform: scale(1); }
            14% { transform: scale(1.036); }
            28% { transform: scale(1); }
            42% { transform: scale(1.024); }
            68% { transform: scale(1); }
        }

        .splash-ecg-pulse {
            stroke: #dc2626;
        }

        html.dark .splash-ecg-pulse {
            stroke: #ef4444;
        }

        /* 7. Rounded Loading Progress Bar (Pink Track + Red Indicator) */
        .splash-progress-track {
            width: 230px;
            max-width: 75vw;
            height: 8px;
            background-color: #fee2e2;
            border-radius: 9999px;
            overflow: hidden;
            margin-bottom: 12px;
            position: relative;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        html.dark .splash-progress-track {
            background-color: #374151;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .splash-progress-indicator {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #e53935 0%, #c62828 100%);
            border-radius: 9999px;
            will-change: width;
            transition: width 0.05s linear;
        }

        /* Indeterminate Mode for ongoing actions */
        #pageLoaderOverlay.indeterminate .splash-progress-indicator,
        #pageLoaderOverlay.splash-complete .splash-progress-indicator {
            width: 35% !important;
            animation: splashIndeterminate 1.25s infinite ease-in-out !important;
        }

        @keyframes splashIndeterminate {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(380%); }
        }

        /* 8. Bengali Loading Label */
        .splash-loading-text {
            font-family: 'Hind Siliguri', sans-serif;
            font-size: 13.5px;
            font-weight: 500;
            color: #6b7280;
            letter-spacing: 0.3px;
            display: block;
            text-align: center;
        }

        html.dark .splash-loading-text {
            color: #94a3b8;
        }

        /* Responsive Breakpoints */
        @media (max-width: 480px) {
            .splash-container { padding: 22px 16px; }
            .splash-logo-card { width: 92px; height: 92px; border-radius: 24px; margin-bottom: 16px; padding: 12px; }
            .splash-title { font-size: 15px; margin-bottom: 10px; }
            .splash-divider { width: 200px; margin-bottom: 14px; }
            .splash-slogan { font-size: 27px; }
            .splash-subtitle { font-size: 13.5px; margin-bottom: 24px; }
            .splash-illustration-wrapper { max-width: 290px; margin-bottom: 28px; }
            .splash-progress-track { width: 200px; height: 7px; margin-bottom: 10px; }
            .splash-loading-text { font-size: 12.5px; }
        }

        @media (max-height: 700px) {
            .splash-container { padding: 12px 16px; }
            .splash-logo-card { width: 78px; height: 78px; margin-bottom: 10px; border-radius: 20px; }
            .splash-title { font-size: 14px; margin-bottom: 8px; }
            .splash-divider { margin-bottom: 10px; }
            .splash-slogan { font-size: 24px; margin-bottom: 4px; }
            .splash-subtitle { font-size: 12.5px; margin-bottom: 16px; }
            .splash-illustration-wrapper { max-width: 240px; margin-bottom: 18px; }
            .splash-progress-track { width: 180px; height: 6px; margin-bottom: 8px; }
        }

        @media (prefers-reduced-motion: reduce) {
            .splash-container,
            .splash-blood-drop-group,
            .splash-ecg-pulse {
                animation: none !important;
                transform: none !important;
            }
            #pageLoaderOverlay.splash-fade-out,
            .splash-screen-overlay.splash-fade-out {
                transition: opacity 0.15s ease !important;
                transform: none !important;
            }
        }
        
        @keyframes slideFadeInRight {
    0% { 
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    100% { 
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

        @keyframes slideFadeOutRight {
    0% { 
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    100% { 
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
}

.sub-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 50%, #e26a76 100%) fixed !important;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 100;
    padding-bottom: 80px;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    display: none;
}

.sub-page.active {
    display: block;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

/* ==========================================================================
   DEVELOPER & ADMIN CONTACT PAGES - MODERN GLASSMORPHISM THEME
   ========================================================================== */

#developerPage,
#adminContactPage {
    background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 50%, #e26a76 100%) fixed !important;
    background-size: cover;
    background-repeat: no-repeat;
}

#developerPage .glass-panel {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 20px 50px rgba(179, 18, 23, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    border-radius: 28px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#developerPage .glass-panel:hover {
    box-shadow: 0 24px 60px rgba(179, 18, 23, 0.16), 0 10px 28px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
}

#developerPage .dev-badge {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

#developerPage .dev-contact-btn {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

#developerPage .dev-contact-btn:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

#adminContactPage .admin-contact-card {
    background: rgba(255, 255, 255, 0.52) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 16px 40px rgba(179, 18, 23, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    border-radius: 24px !important;
}

#adminContactPage #adminContactOptions .form-btn {
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
}

#adminContactPage #adminContactOptions .form-btn:hover {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16) !important;
}

#adminContactPage .admin-profile-card {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 14px rgba(179, 18, 23, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
    border-radius: 16px !important;
    padding: 10px 8px !important;
    width: 125px !important;
    max-width: 135px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#adminContactPage .admin-profile-card:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(179, 18, 23, 0.12), inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

#adminContactPage .admin-profile-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.25 !important;
    margin-top: 5px !important;
    text-align: center !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.dark #adminContactPage .admin-profile-name {
    color: #f3f4f6 !important;
}

.dark #adminContactPage .admin-profile-card {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

.dark #adminContactPage .admin-profile-card:hover {
    background: rgba(30, 41, 59, 0.95) !important;
}

#adminContactPage .support-badge {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    padding: 8px 18px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.main-header {
    padding: 1rem 1rem 0.5rem 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.32) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
    position: sticky;
    top: 0;
    z-index: 50;
}
.main-header h1 { font-family: 'Roboto', sans-serif; font-size: 22px; color: var(--title-red-color); margin: 0; }

.notice-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: #6d4c41;
    padding: 8px 10px;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
        .notice-content { flex-grow: 1; white-space: nowrap; overflow: hidden; position: relative; }
        #noticeText { display: inline-block; padding-left: 100%; animation: marquee 15s linear infinite; white-space: nowrap; }
        .notice-bell-container { position: relative; cursor: pointer; margin-left: 10px; }
        .notice-bell { color: var(--warning-color); font-size: 1.25rem; transition: transform 0.2s; animation: pulse-bell 2s infinite; }
        .notice-badge { position: absolute; top: -8px; right: -8px; background-color: red; color: white; font-size: 10px; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; border: 1px solid white; }
        
.sub-page-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.32) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.sub-page-header h2 {
    font-size: 1.25rem;
    color: black !important;
    margin: 0;
    flex-grow: 1;
    text-align: center;
    padding-right: 2.25rem;
}

.back-btn {
    font-size: 1.25rem;
    color: black !important;
    cursor: pointer;
    padding-right: 1rem;
}


        
    .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-around;

    background: rgba(255, 255, 255, 0.2); /* 🔥 transparent */
    backdrop-filter: blur(15px); /* glass effect */
    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);

    z-index: 500;
    padding: 12px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.3); /* light border */
    border-radius: 20px 20px 0 0;

    transition: 0.3s;
}

.bottom-nav div {
    color: #1e293b; /* dark text */
}

.bottom-nav .active {
    color: #a855f7; /* purple active */
}
    .nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; color: #999; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); padding: 4px 0; transform: scale(1); }
        .nav-item i { font-size: 1.4rem; margin-bottom: 4px; transition: all 0.3s ease; }
        .nav-item span { font-size: 11px; font-weight: 600; opacity: 0.8; transition: all 0.3s ease; }
        .nav-item.active { color: var(--primary-color); transform: translateY(-5px); }
        .nav-item.active i { transform: scale(1.1); filter: drop-shadow(0 4px 6px rgba(24, 119, 242, 0.3)); }
        
#alert-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.custom-alert { 
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: white; 
    padding: 14px 20px; 
    border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); 
    animation: slideDown 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2); 
    font-size: 15px;
    cursor: pointer;
    pointer-events: auto;
}

.custom-alert.success { background: rgba(40, 167, 69, 0.85); } 
.custom-alert.error { background: rgba(220, 53, 69, 0.85); } 
.custom-alert.info { background: rgba(24, 119, 242, 0.85); }
.custom-alert.warning { 
    background: #ffffff !important; 
    color: #000000 !important;
    border: 2px solid #f59e0b !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.custom-alert.warning span {
    color: #000000 !important;
    font-weight: 700 !important;
}

.custom-alert.warning .alert-icon-left {
    color: #000000 !important;
}

.custom-alert.fade-out { animation: slideUp 0.5s forwards; }

.alert-icon-left {
    font-size: 20px;
    flex-shrink: 0;
}

        .temporary-notice-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: none; align-items: flex-start; justify-content: center; z-index: 1500; padding-top: 80px; backdrop-filter: blur(5px); }
        .temporary-notice-overlay.show { display: flex; animation: fadeInZoom 0.5s forwards; }
        .temporary-notice-overlay.hide { animation: fadeOutZoom 0.5s forwards; }
        
@keyframes icon-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.temporary-notice {
    width: 92%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: var(--dark-text);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    text-align: center;
}

.temporary-notice::-webkit-scrollbar {
    width: 4px;
}
.temporary-notice::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    animation: icon-pulse 2s infinite ease-in-out;
}

.modal-icon.error { color: #dc3545; }
.modal-icon.success { color: #28a745; }
.modal-icon.warning { color: #f0ad4e; }
.modal-icon.info { color: #1877f2; }

.temporary-notice-btn { 
    font-family: 'Hind Siliguri', sans-serif; 
    font-weight: 700; 
    background: linear-gradient(135deg, #1877f2 0%, #1461c6 100%); 
    color: white; 
    border: none; 
    padding: 14px; 
    border-radius: 12px; 
    font-size: 16px; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    width: 100%; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    margin-top: 12px;
}

.temporary-notice.info-modal .temporary-notice-btn { 
    background: linear-gradient(135deg, #1877f2 0%, #1461c6 100%); 
}

.temporary-notice-btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.25); 
}

.temporary-notice-btn:active { 
    transform: translateY(0px) scale(0.98); 
    box-shadow: 0 2px 4px rgba(0,0,0,0.15); 
}

.temporary-notice-btn.red-btn {
    background: #dc3545 !important;
    color: white !important;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.3) !important;
}
.temporary-notice-btn.red-btn:hover {
    background: #c82333 !important;
}

    
    .loader { text-align: center; padding: 30px; color: #000000 !important; font-weight: 600 !important; grid-column: 1 / -1; }
        
    .list-section h2 { font-size: 20px; border-bottom: 2px solid var(--light-gray); padding-bottom: 10px; margin-bottom: 15px; }
        
        .custom-dropdown { position: relative; cursor: pointer; width: 100%; margin-bottom: 15px; }
        .dropdown-header { width: 100%; padding: 14px 18px; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; background-color: rgba(255,255,255,0.8); display: flex; justify-content: space-between; align-items: center; font-size: 1em; color: #555; transition: all 0.3s; backdrop-filter: blur(5px); }
        .dropdown-header:hover { border-color: #888; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
        .dropdown-header.active { box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.25); }
        .arrow { font-size: 0.8em; color: #888; }
        .dropdown-options { position: relative; margin-top: 8px; width: 100%; background-color: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.35); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); display: none; padding: 6px; animation: fadeInZoom 0.25s ease; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
        .dropdown-options.show { display: block; margin-bottom: 20px; }
        .dropdown-option { padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; font-size: 1em; color: #333; cursor: pointer; transition: background-color 0.2s; border-radius: 8px; }
        .dropdown-option:hover { background-color: #f0f4ff; color: var(--primary-color); }
        .dropdown-option.selected { font-weight: 600; background-color: #e6f2ff; color: #007bff; }
        
        
        .toggle-group { display: flex; align-items: center; justify-content: space-between; padding-top: 0; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 2px; padding-bottom: 2px; }
        .toggle-group .toggle-label { display: flex; flex-direction: column; }
        .toggle-group .toggle-label h4 { font-size: 15px; margin: 0; color: var(--dark-text); }
        .toggle-group .toggle-label small { font-size: 12px; color: #777; margin-top: 2px; text-align: left; }
        
        
.date-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.date-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 50;
    margin: 0;
    padding: 0;
}


.form-btn {
    position: relative;
    overflow: hidden;
}

#editProfilePage .input-group-card {
    margin-bottom: 15px;
}

        .placeholder { padding: 14px; border: none; box-shadow: 0 2px 6px rgba(0,0,0,0.05); border-radius: 12px; background-color: rgba(255,255,255,0.9); cursor: pointer; color: #999; width: 100%; box-sizing: border-box; text-align: left; user-select: none; display: flex; align-items: center; gap: 8px; font-family: 'Hind Siliguri', sans-serif; font-size: 16px; font-weight: 700; transition: all 0.3s; }
        
        .date-input::-webkit-calendar-picker-indicator {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            cursor: pointer;
        }

        .date-wrapper input:focus + .placeholder, .form-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.2); }
        
        
        .form-btn { 
            font-family: 'Hind Siliguri', sans-serif; 
            font-weight: 700; 
            color: white; 
            padding: 14px; 
            border-radius: 12px; 
            text-decoration: none; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            border: none; 
            cursor: pointer; 
            text-align: center; 
            font-size: 16px; 
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
            transform: scale(1);
            position: relative;
            overflow: hidden;
        }
        .form-btn:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.2);
            transform: translateX(-100%);
            transition: transform 0.3s;
        }
        .form-btn:hover { 
            transform: translateY(-3px) scale(1.02); 
            box-shadow: 0 12px 25px rgba(0,0,0,0.25); 
        }
        .form-btn:hover:after { transform: translateX(0); }
        .form-btn:active { transform: translateY(0px) scale(0.98); box-shadow: 0 2px 4px rgba(0,0,0,0.15); }
        
        .form-btn.login { background: linear-gradient(135deg, #28a745 0%, #218838 100%); }
        .form-btn.register { background: linear-gradient(135deg, #1877f2 0%, #1461c6 100%); }
        .form-btn.warning { background: linear-gradient(135deg, #f0ad4e 0%, #ec971f 100%); color: var(--dark-text); }
        .form-btn.danger { background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); }
        .form-link { color: var(--primary-color); text-decoration: underline; cursor: pointer; transition: color 0.2s; }
        .form-link:hover { color: #1461c6; }
        
        .profile-tab { flex: 1; text-align: center; padding: 10px 4px; border: none; background: transparent; cursor: pointer; font-size: 14px; color: #555; transition: all 0.3s ease; border-radius: 9999px; }
        .profile-tab.active { color: var(--primary-color); font-weight: 700 !important; background-color: var(--white-color); box-shadow: 0 4px 10px rgba(0,0,0,0.1); transform: scale(1.05); }
        .profile-view { display: none; }
        .profile-view.active { display: block; animation: none !important; opacity: 1 !important; transform: none !important; }
        
        #jumpToTopBtn { 
            position: fixed; 
            bottom: 90px; 
            right: 20px; 
            background-color: rgba(0, 0, 0, 0.6); 
            backdrop-filter: blur(5px);
            color: white; 
            width: 50px; 
            height: 50px; 
            border-radius: 12px; 
            display: none; 
            align-items: center; 
            justify-content: center; 
            font-size: 1.2rem; 
            cursor: pointer; 
            z-index: 999; 
            opacity: 0; 
            transition: opacity 0.3s, visibility 0.3s, transform 0.3s; 
            transform: translateY(10px); 
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }
        #jumpToTopBtn.show { display: flex; opacity: 1; transform: translateY(0); }
        
        #adminFabBtn {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #a855f7, #ec4899);
            color: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
            transition: bottom 0.3s ease, transform 0.2s;
        }
        #adminFabBtn:hover { transform: scale(1.1) rotate(5deg); }
        
        #jumpToTopBtn.show ~ #adminFabBtn {
            bottom: 145px;
        }

.dev-contact-btn {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    margin: 0 8px;
}

.dev-contact-btn:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.dev-card-bg {
    
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
}

.dev-card-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: spin 20s linear infinite;
    pointer-events: none;
}

        .date-bold { font-weight: bold !important; }
        .stats-box { background: rgba(255, 255, 255, 0.3) !important; backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; border: 1px solid rgba(255, 255, 255, 0.4) !important; padding: 14px; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); margin-bottom: 10px; }
        
        .form-btn.purple {
    background: #b072e6 !important; /* Soft Light Purple */
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    padding: 12px;
    box-shadow: 0 4px 14px rgba(176, 114, 230, 0.35);
    transition: 0.3s;
}

.form-btn.purple:hover {
    background: #a05ce0 !important;
    box-shadow: 0 6px 18px rgba(176, 114, 230, 0.45);
    transform: translateY(-1px) scale(1.02);
}

.form-btn.blue {
    background: #1b74e4 !important; /* Authentic, soft Facebook blue */
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(27, 116, 228, 0.22) !important;
    transition: 0.3s ease;
}

.form-btn.blue:hover {
    background: #1565c0 !important;
    box-shadow: 0 6px 16px rgba(27, 116, 228, 0.3) !important;
    transform: translateY(-1px) scale(1.02);
}

.form-btn.gray {
    background: #e2e8f0 !important; /* soft muted gray */
    color: #64748b !important;
    border-radius: 30px;
    font-weight: bold;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: 0.3s ease;
    cursor: not-allowed;
}

        
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    transform: scale(1);
    transform-origin: right center;
    margin-right: 0;
}

.svg-toggle-wrapper {
    transform: scale(0.5) !important;
    transform-origin: right center !important;
    margin-right: -1px !important;
    margin-top: 0px !important;
}


#openEditFormBtn, #saveProfileBtn, #cancelEditBtn, #goToChangePasswordBtn {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#openEditFormBtn:hover, #goToChangePasswordBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#openEditFormBtn:active {
    transform: scale(0.98);
}


.toggle-switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.status-slider {
    background-color: #dc3545 !important;
}

input:checked + .status-slider {
    background-color: #28a745 !important;
}

.info-slider {
    background-color: #cbd5e1 !important;
}

input:checked + .info-slider {
    background-color: #1877f2 !important;
}

.small-toggle {
    margin-top: 10px;
}
.custom-dropdown .dropdown-options {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important; 
    border-radius: 16px !important;
    padding: 6px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

.dropdown-option {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    color: #1e293b;
    font-weight: 600;
}

.dropdown-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dropdown-option:hover {
    background-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateX(4px); 
    color: #0f172a;
}

.dropdown-option.selected {
    background-color: rgba(37, 99, 235, 0.15) !important; 
    color: #1d4ed8 !important; 
    font-weight: bold;
    border-left: 3px solid #2563eb; 
}



.notice-date-badge {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.notice-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.notice-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877f2 0%, #1461c6 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 12px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(24, 119, 242, 0.2);
    transition: transform 0.2s;
}

.notice-link-btn:active {
    transform: scale(0.98);
}

.star-rating i {
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
    transform-origin: center center;
}

.star-rating i.active {
    color: #fbbf24;
    transform: scale(1.4);
    z-index: 50;
    filter: drop-shadow(0 8px 15px rgba(251, 191, 36, 0.3));
}


body {
    transition: none !important;
}
.menu-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.instruction-card {
    background-color: #fffbeb;
    border-left: 4px solid #fbbf24;
    color: #374151;
    padding: 12px;
    border-radius: 0 8px 8px 0;
    margin-top: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.instruction-card i {
    color: #f59e0b; 
}


.profile-tab-container {
    display: flex;
    gap: 8px;

    max-width: 360px;
    margin: 0 auto 20px;

    padding: 6px;
    background: rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;

    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Tabs */
.profile-tab {
    flex: 1;

    padding: 10px 12px;

    border: none;
    border-radius: 12px;

    background: transparent;

    font-size: 14px;
    font-weight: 600;

    color: #1e293b;

    cursor: pointer;

    transition: all 0.2s ease;
}

/* Hover (very subtle) */
.profile-tab:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #0f172a;
}

/* Active state */
.profile-tab.active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.stats-box {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease;
}

#chatbotFabBtn {
    position: fixed; 
    bottom: 145px; 
    right: 20px; 
    width: 50px; 
    height: 50px;
    background: linear-gradient(135deg, #fcdf03, #fbbf24);
    color: rgb(15, 15, 15); 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.8rem; 
    cursor: pointer; 
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(13, 202, 38, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    transition: bottom 0.3s ease, transform 0.2s;
}

#chatbotFabBtn:active { transform: scale(0.95); }

#jumpToTopBtn.show ~ #chatbotFabBtn { 
    bottom: 200px; 
}

#aiChatPage {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 50%, #e26a76 100%);
    z-index: 9999; 
    display: none; 
    flex-direction: column;
    font-family: 'Hind Siliguri', sans-serif;
}

#aiChatPage.active { 
    display: flex; 
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

@keyframes slideIn { 
    from { transform: translateY(100%); } 
    to { transform: translateY(0); } 
}

.chat-header {
    padding: 12px 14px; 
    background: rgba(255, 255, 255, 0.45); 
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.chat-header-logo {
    height: 44px;
    width: auto;
    max-width: 44px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.chat-header-title {
    font-size: clamp(0.78rem, 3.4vw, 1.05rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap !important;
    letter-spacing: -0.01em;
}

.chat-header-close-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chat-header-close-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

.chat-container {
    flex: 1; 
    overflow-y: auto; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

@keyframes fadeUp { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.chat-bubble {
    max-width: 80%; 
    padding: 12px 16px; 
    border-radius: 18px; 
    font-size: 15px; 
    line-height: 1.5;
    position: relative; 
    word-wrap: break-word; 
    opacity: 0;
    animation: fadeUp 0.4s ease-out forwards;
}

.chat-bubble.bot {
    align-self: flex-start; 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6); 
    border-bottom-left-radius: 4px; 
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chat-bubble.user {
    align-self: flex-end; 
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-bottom-right-radius: 4px; 
    color: white; 
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.typing-box {
    display: none; 
    align-self: flex-start; 
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px; 
    border-radius: 20px;
    border-bottom-left-radius: 4px; 
    gap: 6px; 
    width: fit-content; 
    margin-bottom: 10px;
    animation: fadeUp 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dot { 
    width: 8px; 
    height: 8px; 
    background: #94a3b8; 
    border-radius: 50%; 
    animation: bounce 1.4s infinite ease-in-out both; 
}

.dot:nth-child(1) { animation-delay: -0.32s; } 
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce { 
    0%, 80%, 100% { transform: scale(0); } 
    40% { transform: scale(1); } 
}

#suggestionChips {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    flex-shrink: 0;
    background: transparent !important;
    backdrop-filter: none !important;
}


#suggestionChips::-webkit-scrollbar {
    display: none;
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #1e293b;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.suggestion-chip:hover {
    background: #2563eb;
    border-color: #1d4ed8;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.chat-input-area {
    position: relative;
    width: 100%;
    padding: 15px; 
    background: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex; 
    gap: 10px; 
    align-items: center; 
    z-index: 100;
    flex-shrink: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

#chatInput {
    flex: 1; 
    background: rgba(255, 255, 255, 0.85); 
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #0f172a; 
    padding: 12px 20px; 
    border-radius: 50px; 
    outline: none; 
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#chatInput::placeholder {
    color: #64748b;
}

#chatInput:focus { 
    border-color: #2563eb; 
    background: #ffffff; 
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.send-btn { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    border: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
    font-size: 1.2rem; 
    color: white; 
    background: #2563eb; 
    transition: 0.2s;
}

.send-btn:active { transform: scale(0.9); }

.bot-reply span.word {
    display: inline-block;
    opacity: 0;
    animation: wordFadeIn 0.3s ease forwards;
    margin-right: 4px;
}

@keyframes wordFadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.action-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 15px 0;
    color: #9ca3af;
}
.auth-separator::before, .auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}
.auth-separator span {
    padding: 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
}
.google-btn {
    background-color: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    height: 50px;
}
.google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.google-btn:active {
    transform: scale(0.98);
}

@keyframes pulse-blue-shadow {
    0% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(24, 119, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0); }
}

#searchView .custom-dropdown .dropdown-header {
    animation: pulse-blue-shadow 2s infinite;
    border-color: #1877f2;
}

#passwordResetNotice {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

#goToAboutFromLogin {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

#goToAboutFromLogin:hover {
    background-color: #f3f4f6 !important;
}

#forgetPasswordView .w-16 {
    width: 4rem;
    height: 4rem;
}

#forgetPasswordView .bg-blue-50 {
    background-color: #eff6ff;
}

#forgetPasswordView .bg-yellow-50 {
    background-color: #fffbeb;
}

#forgetPasswordView .text-yellow-600 {
    color: #d97706;
}

#forgetPasswordView .border-yellow-200 {
    border-color: #fef08a;
}

#forgetPasswordView .font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

#forgetPasswordView .bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}

#forgetPasswordView .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#forgetPasswordView .translate-y-0 {
    transform: translateY(0);
}

#forgetPasswordView .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
    nav.bottom-nav, 
    .sticky {
        max-width: var(--desktop-app-max-width, 800px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        right: 0 !important;
    }
    
@keyframes ashPulse {
    0% { box-shadow: 0 0 0 0 rgba(156, 163, 175, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(156, 163, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(156, 163, 175, 0); }
}

@keyframes ashPulseDark {
    0% { box-shadow: 0 0 0 0 rgba(75, 85, 99, 0.8); }
    70% { box-shadow: 0 0 0 15px rgba(75, 85, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(75, 85, 99, 0); }
}

.ash-pulse-effect {
    animation: ashPulse 2s infinite;
    border-radius: inherit; 
}

html.dark .ash-pulse-effect {
    animation: ashPulseDark 2s infinite;
}
.chat-bubble.no-animation,
.chat-bubble.no-animation span.word,
.chat-bubble.no-animation * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@keyframes blinkAnim {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}


.admin-access-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    backdrop-filter: blur(6px);
}

.admin-access-modal.show{
    display: flex;
    animation: adminFadeIn .25s ease;
}

.admin-access-box{
    width: 100%;
    max-width: 380px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 24px 20px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    text-align: center;
    animation: adminPopUp .25s ease;
}

.admin-access-logo{
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 10px;
}

.admin-access-header h3{
    margin: 0 0 6px;
    font-size: 24px;
    color: #2563eb;
    font-weight: 700;
}

.admin-access-header p{
    margin: 0 0 18px;
    font-size: 14px;
    color: #555;
}

.admin-access-input-wrap{
    position: relative;
    margin-bottom: 10px;
}

.admin-access-input-wrap input{
    width: 100%;
    height: 52px;
    border: 1px solid #d8dbe2;
    border-radius: 14px;
    padding: 0 48px 0 14px;
    font-size: 15px;
    outline: none;
    background: #f8fafc;
    transition: .2s ease;
}

.admin-access-input-wrap input:focus{
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.admin-eye-btn{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.admin-access-error{
    min-height: 20px;
    margin: 4px 0 10px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
}

.admin-access-actions{
    display: flex;
    gap: 10px;
}

.admin-access-actions button{
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.admin-cancel-btn{
    background: #e5e7eb;
    color: #222;
}

.admin-cancel-btn:hover{
    background: #d1d5db;
}

.admin-submit-btn{
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
}

.admin-submit-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(22,163,74,0.25);
}

@keyframes adminFadeIn{
    from{opacity:0;}
    to{opacity:1;}
}

@keyframes adminPopUp{
    from{opacity:0; transform: scale(.92) translateY(10px);}
    to{opacity:1; transform: scale(1) translateY(0);}
}

/* ==========================================================================
   MENU PAGE & ABOUT US PAGE GLASSMORPHISM DESIGN
   ========================================================================== */

/* Menu Page Grid Buttons & Cards */
#menuPage .grid > button,
#menuPage .grid > a {
    background: rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#menuPage .grid > button:hover,
#menuPage .grid > a:hover {
    background: rgba(255, 255, 255, 0.48) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09) !important;
    transform: translateY(-4px) !important;
}

#menuPage .grid > button:active,
#menuPage .grid > a:active {
    transform: translateY(-1px) scale(0.98) !important;
}

#menuPage .grid > button span,
#menuPage .grid > a span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* About Us Page Glassmorphism */
#aboutUsPage {
    background: transparent !important;
}

#aboutUsPage p[class*="text-blue-600"] {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

#aboutUsPage .space-y-5 > div {
    background: rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
}

#aboutUsPage .space-y-5 p,
#aboutUsPage .space-y-5 span {
    color: #1e293b;
}

#aboutUsPage .space-y-5 h3 {
    color: #0f172a !important;
}

#aboutUsPage .space-y-5 .bg-emerald-50 {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-left: 4px solid #10b981 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08) !important;
}

#aboutUsPage .space-y-5 .bg-emerald-50 p {
    color: #064e3b !important;
}

#aboutUsPage .space-y-5 .bg-amber-50 {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-left: 4px solid #f59e0b !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08) !important;
}

#aboutUsPage .space-y-5 .bg-amber-50 p {
    color: #78350f !important;
}

#aboutUsPage .space-y-5 .bg-rose-50 {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(244, 63, 94, 0.35) !important;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.08) !important;
    color: #9f1239 !important;
}

#aboutUsPage #aboutFbBtn,
#aboutUsPage #aboutWaBtn,
#aboutUsPage #aboutTgBtn {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}

#aboutUsPage #aboutFbBtn:hover,
#aboutUsPage #aboutWaBtn:hover,
#aboutUsPage #aboutTgBtn:hover {
    background: rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

#aboutUsPage button[data-page="developerPage"] {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* ==========================================================================
   NOTICE ARCHIVE GLASSMORPHISM
   ========================================================================== */

#noticeArchivePage {
    background: transparent !important;
}

#noticeArchivePage h2,
#noticeArchivePage h3 {
    color: #000000 !important;
    font-weight: 700 !important;
}

.current-notice-card,
#noticeArchiveContainer .notice-card {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#noticeArchiveContainer .notice-card:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

.notice-date-badge {
    color: #000000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   GLOBAL PURE BLACK TEXT TYPOGRAPHY (HIGH CONTRAST & MAXIMUM READABILITY)
   ========================================================================== */

/* Universal text & label color override */
.custom-dropdown .dropdown-header,
.custom-dropdown .dropdown-header span,
.custom-dropdown .arrow,
.custom-dropdown .dropdown-option,
.custom-dropdown .dropdown-option span,
.floating-label,
.form-input,
.form-textarea,
.date-wrapper .placeholder,
.date-wrapper .placeholder span,
.date-wrapper .placeholder i,
.toggle-label,
.toggle-label span,
.toggle-label small,
.input-group-card label,
.notice-card,
.notice-card p,
.notice-card span,
.current-notice-card,
.current-notice-card p,
.current-notice-card span,
.text-gray-400,
.text-gray-500,
.text-gray-600,
.text-gray-700,
.text-gray-800,
.text-gray-900 {
    color: #000000 !important;
}

/* Floating labels */
.floating-label {
    color: #000000 !important;
    font-weight: 600 !important;
}

.form-input:focus ~ .floating-label,
.form-input:not(:placeholder-shown) ~ .floating-label {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Input text and placeholder */
.form-input,
.form-textarea {
    color: #000000 !important;
    font-weight: 600 !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #000000 !important;
    opacity: 0.7 !important;
}

/* Form input icons */
.form-input-icon {
    color: #000000 !important;
}

/* Dropdown headers */
.custom-dropdown .dropdown-header {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Placeholder */
.placeholder {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Pin input label */
.input-group-card label {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Toggle labels */
.toggle-label span {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* ===== Prevent Unnecessary Scrolling on Short Content ===== */
html, body {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}

/* Ensure containers don't add ghost scrolling space when empty or short */
#filteredDonorsContainer:empty,
#foundationsContainer:empty,
#volunteersContainer:empty,
#filteredDonorsContainer:has(> .loader),
#foundationsContainer:has(> .loader),
#volunteersContainer:has(> .loader) {
    min-height: auto;
}

#filtered-donors-section,
#all-donors-section {
    margin-bottom: 8px !important;
}

/* Prevent extra gap or bounce pushing the page up */
#findPage .container,
#profilePage .container,
#menuPage .container,
#foundationPage .container,
#volunteerPage .container {
    padding-bottom: 10px !important;
}

/* ===== Smooth GPU Accelerated Scrolling & Zero Lag Rendering ===== */
.sub-page,
#aboutUsPage,
#noticeArchivePage,
#allDonorsPage,
#developerPage {
    -webkit-overflow-scrolling: touch !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

#aboutUsPage .space-y-5 > div,
.donor-card-animated,
.foundation-card,
.notice-card {
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    will-change: auto !important;
}

/* ==========================================================================
   DONOR CARD STATUS BADGE THEME (HIGH CONTRAST & SOLID BACKGROUNDS)
   ========================================================================== */
.donor-status-box {
    text-align: center !important;
    padding: 0.375rem 0.5rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    letter-spacing: 0.2px;
}

.donor-status-available {
    background-color: #22c55e !important;
    background: #22c55e !important;
    color: #000000 !important;
}

.donor-status-unavailable {
    background-color: #dc2626 !important;
    background: #dc2626 !important;
    color: #000000 !important;
}

.donor-status-cooldown {
    background: linear-gradient(135deg, #fcdf03, #fbbf24) !important;
    background-color: #fbbf24 !important;
    color: #000000 !important;
}

/* Ensure pure black text in dark mode */
.dark .donor-status-box,
.dark .donor-status-available,
.dark .donor-status-unavailable,
.dark .donor-status-cooldown {
    color: #000000 !important;
}

/* ==========================================================================
   PROFILE PAGE - AUTHENTIC LIGHT GLASSMORPHISM CARDS (MOBILE & DESKTOP)
   ========================================================================== */
#profilePage,
#profileLoggedInView,
#profileLoggedOutView,
#updateProfilePage {
    color-scheme: light !important;
}

#profilePage .glass-panel,
#profileLoggedInView .glass-panel {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 12px 36px rgba(179, 18, 23, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
}

.profile-glass-card {
    background: rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 18px rgba(179, 18, 23, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
    transition: all 0.25s ease !important;
    color: #1f2937 !important;
}

.profile-glass-card:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 8px 24px rgba(179, 18, 23, 0.08), inset 0 1px 1px rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px);
}

/* Ensure clean, crisp text colors in profile cards */
#profileLoggedInView .text-gray-800 {
    color: #1f2937 !important;
}

#profileLoggedInView .text-gray-700 {
    color: #374151 !important;
}

#profileLoggedInView .text-gray-600 {
    color: #4b5563 !important;
}

#profileLoggedInView .text-gray-500 {
    color: #6b7280 !important;
}

/* ==========================================================================
   ACCOUNT DELETION REQUEST SYSTEM STYLES
   ========================================================================== */
/* Donor Deletion Request Modal - Solid crisp card, zero transparent bleed */
.del-account-modal-card {
    background: #ffffff !important;
    border: 2px solid #fecdd3 !important; /* Soft rose border */
    border-radius: 28px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45) !important;
    color: #000000 !important;
}

.del-reason-label {
    transition: all 0.2s ease-in-out;
    border: 1.5px solid #d1d5db !important;
    background-color: #ffffff !important;
}

.del-reason-label:hover {
    border-color: #fca5a5 !important;
    background-color: #fff1f2 !important;
}

.del-reason-label:has(input:checked) {
    border-color: #e11d48 !important;
    background-color: #ffe4e6 !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15) !important;
}

.del-reason-label p {
    color: #000000 !important;
}

/* Admin Request Cards - Pure solid white background with pure black text */
.del-req-card {
    background: #ffffff !important; /* 100% solid white, matching top header card */
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 22px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.25s ease;
    text-align: left;
    color: #000000 !important;
}

.del-req-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

.del-req-card p,
.del-req-card a,
.del-req-card h4,
.del-req-card label {
    color: #000000 !important;
}

.del-req-card span:not([class*="text-white"]) {
    color: #000000 !important;
}

.del-req-filter-btn {
    transition: all 0.2s ease;
}

.del-req-filter-btn.active {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

/* ==========================================================================
   A4 EXPORT PREVIEW RESPONSIVE CONTAINER & SCALING
   ========================================================================== */
.preview-a4-outer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 12px 140px 12px;
    box-sizing: border-box;
}

.preview-a4-wrapper {
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: height 0.15s ease, width 0.15s ease;
}

#previewA4Container {
    width: 800px !important;
    min-width: 800px !important;
    min-height: 1122px;
    background-color: #ffffff !important;
    color: #333333 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18) !important;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    transform-origin: top left;
}

/* Hide floating action buttons while viewing export preview */
#exportPreviewPage.active ~ #chatbotFabBtn,
#exportPreviewPage.active ~ #adminFabBtn,
#exportPreviewPage.active ~ #jumpToTopBtn {
    display: none !important;
}

/* Donor Profile Photo System */
.edit-photo-modal-card {
    background: #ffffff !important;
    border: 2px solid #bfdbfe !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45) !important;
    color: #000000 !important;
}

#profileAvatarContainer:hover .profile-avatar-badge {
    transform: scale(1.1);
}

#regPhotoCard label,
#gRegPhotoCard label {
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

#regPhotoCard label:active .form-input,
#gRegPhotoCard label:active .form-input {
    transform: scale(0.99);
    border-color: #3b82f6 !important;
}

/* ==========================================================================
   DESKTOP RESPONSIVE NORMALIZATION
   ========================================================================== */
@media (min-width: 768px) {
    .main-header, .sub-page-header {
        max-width: var(--desktop-app-max-width, 800px) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        right: 0 !important;
    }
    .container, #findPage, #profilePage, #menuPage, #foundationPage, #volunteerPage,
    .list-section, #filtered-donors-section, #all-donors-section,
    .list-section.donors, .list-section.foundations, .list-section.volunteers {
        max-width: var(--desktop-app-max-width, 800px) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    nav.bottom-nav {
        max-width: var(--desktop-app-max-width, 800px) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        border-bottom: none !important;
        box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08) !important;
    }
}



