
/* Your existing body styles - only apply when not loading */
        body:not(.loading) {      
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Loading state body styles */
        body.loading {
            height: 100vh;
            display: block;
            overflow: hidden;
        }

        /* === FIXED LOADER STYLES === */
        
        /* Page Loader Overlay - Improved */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            transition: all 0.5s ease-out;
            opacity: 1;
            visibility: visible;
        }

        /* Fade out animation */
        .page-loader.fade-out {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* Completely hidden state */
        .page-loader.hidden {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        /* Loader container to match your design */
        .loader-container {
            text-align: center;
            padding: 30px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 10px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        /* Spinner Animation */
        /* .loader-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #20948B;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        } */

        .loader-spinner {
        position: relative;
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
    }

    .spinner-ring {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 4px solid transparent;
        border-top: 4px solid #1995AD;
        border-radius: 50%;
        animation: spin 1.5s linear infinite;
    }

    .spinner-ring:nth-child(1) {
        animation-delay: 0s;
    }

    .spinner-ring:nth-child(2) {
        animation-delay: -0.4s;
        border-top-color: #17a2b8;
        width: 90%;
        height: 90%;
        top: 5%;
        left: 5%;
    }

    .spinner-ring:nth-child(3) {
        animation-delay: -0.8s;
        border-top-color: #20c997;
        width: 80%;
        height: 80%;
        top: 10%;
        left: 10%;
    }

    .spinner-ring:nth-child(4) {
        animation-delay: -1.2s;
        border-top-color: #fd7e14;
        width: 70%;
        height: 70%;
        top: 15%;
        left: 15%;
    }




    /* Button Loader */
    .btn-loader {
        width: 20px;
        height: 20px;
        border: 2px solid transparent;
        border-top: 2px solid #ffffff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: inline-block;
        margin-right: 8px;
    }

    .btn-loading {
        pointer-events: none;
        opacity: 0.7;
    }

    /* Main content visibility */
    body.loading .main-content {
        visibility: hidden;
        opacity: 0;
    }

    body:not(.loading) .main-content {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s ease-in;
    }

    /* Keyframe Animations */
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Your existing styles */
    .modal-content {
        border-radius: 10px;
        text-align: center;
        padding: 25px 20px;
    }

    .modal-icon {
        font-size: 45px;
        border: 3px solid;
        border-radius: 50%;
        width: 80px;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 15px;
    }

    .icon-success {
        color: #28a745;
        border-color: #c3e6cb;
    }

    .icon-error {
        color: #e74c3c;
        border-color: #f5c6cb;
    }

    .icon-warning {
        color: #ffc107;
        border-color: #ffeeba;
    }

    .icon-question {
        color: #5e9ca5;
        border-color: #d1e7ea;
    }

    .card {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

    .btn-primary {
        background: linear-gradient(45deg, #03a6a6, #d9b7b0);
        border: none;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

    .google-btn {
        background: #fff;
        border: 1px solid #dadce0;
        color: #3c4043;
        transition: all 0.3s ease;
    }

    .google-btn:hover {
        background: #f8f9fa;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .input-group-text {
        background: rgba(102, 126, 234, 0.1);
        border-color: #ced4da;
        color: #667eea;
    }

    .form-floating > .form-control:focus ~ label {
        color: #667eea;
    }

    .divider {
        position: relative;
        text-align: center;
        margin: 1rem 0;
    }

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #dee2e6;
    }

    .divider span {
        background: rgba(255, 255, 255, 0.95);
        padding: 0 1rem;
        color: #6c757d;
        z-index: 1;
    }

