    /* Toast sirf form ke andar - global alert-container login page pe hide */
    #alert-container.toast-container { display: none !important; }
    .login-wrapper {
        min-height: 100vh;
        background: #f5f7fa;
        width: 100%;
        display: flex;
        background-image: 
            radial-gradient(at 20% 30%, rgba(0, 115, 209, 0.08) 0%, transparent 50%),
            radial-gradient(at 80% 70%, rgba(67, 67, 67, 0.06) 0%, transparent 50%);
       
            flex-direction: column;
        align-items: stretch;
        justify-content: center;
        padding: 40px 20px;
    }

    .login-back-row {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 12px;
        padding-right: env(safe-area-inset-right, 0);
        box-sizing: border-box;
    }

    .login-back-to-site {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        background: #0073d1;;
        border: 1px solid #e0e6ed;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        white-space: nowrap;
    }

    .login-back-to-site:hover {
        color: #005bb5;
        background: #f5f9fc;
        border-color: #0073d1;
        text-decoration: none;
    }

    .login-back-to-site i {
        font-size: 16px;
    }

    .login-container {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .login-header {
        background: linear-gradient(135deg, #0073d1 0%, #005bb5 100%);
        padding: 25px 30px;
        text-align: center;
    }

    .login-header h2 {
        color: #ffffff;
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .login-header p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        margin: 0;
    }
    .auth-brand {
        text-align: center;
        margin-bottom: 14px;
    }

    .auth-brand a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .auth-brand .site-logo {
        max-width: 180px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .login-body {
        padding: 30px;
    }

    .login-captcha-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 78px;
        margin: 0 0 16px;
        overflow: visible;
    }

    .login-captcha-wrapper .g-recaptcha {
        max-width: 100%;
        overflow: visible;
    }

    /* Login Method Tabs */
    .login-methods {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
        background: #f5f7fa;
        padding: 6px;
        border-radius: 10px;
    }

    .login-method-btn {
        flex: 1;
        padding: 5px 5px;
        border: none;
        background: transparent;
        color: #666;
        font-size: 13px;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .login-method-btn:hover {
        background: rgba(0, 115, 209, 0.1);
        color: #0073d1;
    }

    .login-method-btn.active {
        background: #0073d1;
        color: #fff;
    }

    .login-method-btn i {
        font-size: 16px;
    }

    /* Login Forms */
    .login-form-section {
        display: none;
    }

    .login-form-section.active {
        display: block;
    }

    .login-body .form-group {
        margin-bottom: 16px;
    }

    .login-body .form-label {
        font-weight: 600;
        color: #434343;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .login-body .form-control {
        border: 1.5px solid #e0e0e0;
        border-radius: 8px;
        padding: 12px 14px;
        height: 40px;
        font-size: 14px;
        transition: all 0.3s ease;
        color: #434343;
    }

    /* Inline alert with form (toast shown inside form card) */
    #login-alert.login-inline-alert {
        margin-bottom: 16px;
        display: none;
    }
    .login-inline-toast {
        /* padding: 12px 16px; */
        border-radius: 10px;
        font-size: 14px;
        display: flex;
        align-items: center;
        border: 1px solid transparent;
    }
    .login-inline-toast.text-success {
        background: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }
    .login-inline-toast.text-success .message-icon { color: #28a745; }
    .login-inline-toast.text-danger {
        background: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }
    .login-inline-toast.text-danger .message-icon { color: #dc3545; }
    .login-inline-toast .btn-close { font-size: 12px; opacity: 0.7; }

    .login-body .form-control:focus {
        border-color: #0073d1;
        box-shadow: 0 0 0 3px rgba(0, 115, 209, 0.1);
    }

    .btn-login {
        background: linear-gradient(135deg, #0073d1 0%, #005bb5 100%);
        border: none;
        border-radius: 8px;
        padding: 12px 25px;
        font-size: 15px;
        font-weight: 600;
        width: 100%;
        margin-top: 10px;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-login:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 15px rgba(0, 115, 209, 0.25);
        background: linear-gradient(135deg, #005bb5 0%, #004a94 100%);
    }

    .btn-login:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    /* OTP Input */
    .otp-input-group {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin: 20px 0;
    }

    .otp-input {
        width: 48px;
        height: 55px;
        text-align: center;
        font-size: 22px;
        font-weight: 700;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        outline: none;
        transition: all 0.3s ease;
    }

    .otp-input:focus {
        border-color: #0073d1;
        box-shadow: 0 0 0 3px rgba(0, 115, 209, 0.1);
    }

    .otp-info {
        text-align: center;
        margin-bottom: 15px;
    }

    .otp-info p {
        color: #666;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .otp-info .email-display {
        font-weight: 600;
        color: #0073d1;
    }

    .resend-otp {
        text-align: center;
        margin-top: 15px;
    }

    .resend-otp button {
        background: none;
        border: none;
        color: #0073d1;
        font-weight: 600;
        cursor: pointer;
    }

    .resend-otp button:disabled {
        color: #999;
        cursor: not-allowed;
    }

    /* OTP Success message - stays visible */
    /* Social Login Section */
    .social-login-divider {
        text-align: center;
        margin: 25px 0 20px;
        position: relative;
    }

    .social-login-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e0e0e0;
    }

    .social-login-divider span {
        background: #fff;
        padding: 0 15px;
        color: #888;
        font-size: 13px;
        position: relative;
    }

    .social-login-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-social {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .btn-google {
        background: #fff;
        border: 1.5px solid #e0e0e0;
        color: #434343;
    }

    .btn-google:hover {
        background: #f5f5f5;
        border-color: #ddd;
        color: #434343;
    }

    .btn-google img {
        width: 20px;
        height: 20px;
    }

    .login-footer {
        text-align: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        font-size: 14px;
        color: #666;
    }

    .login-footer a {
        color: #0073d1;
        font-weight: 600;
        text-decoration: none;
    }

    .login-footer a:hover {
        text-decoration: underline;
    }
    .login-register-cta {
        text-align: center;
        margin-top: 22px;
        padding-top: 18px;
        border-top: 1px solid #eee;
        font-size: 14px;
        color: #555;
        line-height: 1.6;
    }

    .login-register-cta a {
        color: #0073d1;
        font-weight: 600;
        text-decoration: underline;
    }

    .login-register-cta a:hover {
        color: #005bb5;
    }

    /* Alert Messages */
    .alert {
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .alert-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .alert-danger {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    /* Back button */
    .btn-back {
        background: none;
        border: none;
        color: #666;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 15px;
        padding: 0;
    }

    .btn-back:hover {
        color: #0073d1;
    }

    /* Responsive */
    @media (max-width: 768px) {
       
        .login-header {
            padding: 20px;
        }

        .login-body {
            padding: 25px 20px;
        }

        .login-methods {
            flex-direction: column;
        }

        .otp-input {
            width: 42px;
            height: 48px;
            font-size: 18px;
        }
        .auth-brand .site-logo {
            max-width: 145px;
        }
    }
