    /* ========== Background & Container ========== */
    #authBg {
        position: relative;
        min-height: 100vh;
        background: linear-gradient(135deg, #0b0c10 0%, #1a1a2e 50%, #16213e 100%);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0px 20px 0px 20px;
    }

    /* Animated gradient orbs */
    #authBg::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 15% 15%, rgba(100, 200, 255, 0.15), transparent 40%),
            radial-gradient(circle at 85% 20%, rgba(255, 100, 200, 0.12), transparent 45%),
            radial-gradient(circle at 50% 80%, rgba(100, 255, 200, 0.10), transparent 50%),
            radial-gradient(circle at 90% 90%, rgba(255, 200, 100, 0.08), transparent 40%);
        filter: blur(60px);
        pointer-events: none;
        animation: orbFloat 12s ease-in-out infinite alternate;
    }

    @keyframes orbFloat {
        0% {
            transform: scale(1) rotate(0deg);
        }

        100% {
            transform: scale(1.1) rotate(5deg);
        }
    }

    #authBg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.3) 100%);
        pointer-events: none;
    }

    /* ========== Left Side - Brand Section ========== */
    .brand-section {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 40px;
        min-height: 500px;
    }

    .brand-logo {
        position: relative;
        display: inline-block;
        margin-bottom: 2rem;
    }

    .brand-logo img {
        width: 200px;
        height: auto;
        filter: drop-shadow(0 8px 30px rgba(255, 255, 255, 0.1));
        transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        animation: logoFloat 6s ease-in-out infinite;
    }

    @keyframes logoFloat {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    .brand-logo:hover img {
        transform: scale(1.05) rotate(-2deg);
    }

    .brand-logo-glow {
        position: absolute;
        inset: -30px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        filter: blur(40px);
        z-index: -1;
        animation: glowPulse 4s ease-in-out infinite;
    }

    @keyframes glowPulse {

        0%,
        100% {
            opacity: 0.5;
            transform: scale(1);
        }

        50% {
            opacity: 1;
            transform: scale(1.1);
        }
    }

    .brand-title {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    .brand-subtitle {
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.1rem;
        font-weight: 300;
        letter-spacing: 0.5px;
        max-width: 400px;
        margin: 0 auto;
        line-height: 1.8;
    }

    .brand-features {
        margin-top: 2.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 350px;
    }

    .brand-feature-item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.04);
        transition: all 0.3s ease;
    }

    .brand-feature-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.08);
        transform: translateX(5px);
    }

    .brand-feature-item .feature-icon {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    /* ========== Right Side - Card ========== */
    .login-card-wrapper {
        position: relative;
        z-index: 2;
    }

    .login-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .login-card:hover {
        transform: translateY(-2px);
        box-shadow:
            0 30px 80px rgba(0, 0, 0, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .card-body {
        padding: 2.5rem 2.5rem;
    }

    .welcome-text {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
        letter-spacing: 0.3px;
        font-weight: 300;
        margin-bottom: 2rem;
    }

    .welcome-text strong {
        color: #fff;
        font-weight: 500;
    }

    /* ========== Form Elements - WHITE TEXT ========== */
    .form-label {
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .form-control,
    .form-select {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
        border-radius: 12px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        height: 48px;
    }

    /* Override any default text color */
    .form-control,
    .form-select,
    .form-control:focus,
    .form-select:focus {
        color: #ffffff !important;
    }

    /* Input text color for all states */
    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.35);
        font-weight: 300;
    }

    .form-control:focus,
    .form-select:focus {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
        color: #ffffff !important;
    }

    /* ========== Dropdown Specific Styles ========== */
    .form-select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(255,255,255,0.6)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 16px 12px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        color: #ffffff !important;
    }

    .form-select option {
        background: #1a1a2e;
        color: #ffffff !important;
        padding: 10px;
    }

    .form-select option:hover,
    .form-select option:focus,
    .form-select option:active,
    .form-select option:checked {
        background: #2a2a4e;
        color: #ffffff !important;
    }

    /* Firefox dropdown fix */
    .form-select:-moz-focusring {
        color: #ffffff !important;
        text-shadow: 0 0 0 #ffffff;
    }

    .input-group {
        border-radius: 12px;
        overflow: hidden;
    }

    .input-group-text {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-right: none;
        color: rgba(255, 255, 255, 0.6);
        padding: 0 1rem;
        height: 48px;
        transition: all 0.3s ease;
    }

    .input-group .form-control {
        border-left: none;
        border-radius: 0 12px 12px 0;
        color: #ffffff !important;
    }

    .input-group .form-control:focus {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .input-group .form-control:focus+.input-group-text,
    .input-group .form-control:focus~.input-group-text {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .toggle-password {
        cursor: pointer;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-left: none;
        color: rgba(255, 255, 255, 0.4);
        padding: 0 1rem;
        height: 48px;
        border-radius: 0 12px 12px 0 !important;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .toggle-password:hover {
        color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.12);
    }

    /* ========== Checkbox & Links ========== */
    .form-check-input {
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        width: 18px;
        height: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .form-check-input:checked {
        background-color: #fff;
        border-color: #fff;
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    }

    .form-check-label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
        margin-left: 0.5rem;
        user-select: none;
    }

    .forgot-link {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 400;
    }

    .forgot-link:hover {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: underline;
    }

    /* ========== Button ========== */
    .btn-gradient {
        background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 50%, #b0b0b0 100%);
        border: none;
        color: #111;
        font-weight: 600;
        padding: 0.85rem;
        border-radius: 12px;
        font-size: 1rem;
        letter-spacing: 0.5px;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    }

    .btn-gradient:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
        background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 50%, #cccccc 100%);
    }

    .btn-gradient:active {
        transform: scale(0.98);
    }

    .btn-gradient::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .btn-gradient:hover::after {
        opacity: 1;
    }

    /* ========== Toastr Custom ========== */
    #toast-container .toast {
        border-radius: 12px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 16px 20px !important;
        font-size: 0.95rem !important;
        opacity: 1 !important;
    }

    #toast-container .toast-success {
        background: rgba(40, 167, 69, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    #toast-container .toast-error {
        background: rgba(220, 53, 69, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    #toast-container .toast-warning {
        background: rgba(255, 193, 7, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #000 !important;
    }

    #toast-container .toast-warning .toast-message {
        color: #000 !important;
    }

    #toast-container .toast-warning .toast-title {
        color: #000 !important;
    }

    #toast-container .toast-info {
        background: rgba(23, 162, 184, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .toast-message {
        font-weight: 400;
        letter-spacing: 0.3px;
    }

    /* Remove default validation styles */
    .invalid-feedback {
        display: none !important;
    }

    .form-control.is-invalid,
    .form-select.is-invalid {
        border-color: rgba(255, 107, 107, 0.4) !important;
        box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.08) !important;
        color: #ffffff !important;
    }

    /* ========== Responsive ========== */
    @media (max-width: 768px) {
        .brand-section {
            min-height: auto;
            padding: 30px 20px;
            margin-bottom: 30px;
        }

        .brand-logo img {
            width: 150px;
        }

        .brand-title {
            font-size: 2rem;
        }

        .brand-subtitle {
            font-size: 1rem;
        }

        .brand-features {
            max-width: 100%;
        }

        .card-body {
            padding: 2rem 1.5rem;
        }

        .login-card-wrapper {
            padding: 0 15px;
        }
    }

    @media (max-width: 576px) {
        .brand-title {
            font-size: 1.8rem;
        }

        .brand-feature-item {
            font-size: 0.85rem;
            padding: 8px 14px;
        }

        .card-body {
            padding: 1.5rem 1.2rem;
        }
    }

    /* Loading spinner on button */
    .btn-gradient .spinner-border {
        width: 20px;
        height: 20px;
        border-width: 2px;
        margin-right: 8px;
    }

    /* Divider between brand and card */
    .divider-line {
        width: 1px;
        height: 70%;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
        position: absolute;
        top: 15%;
        right: 0;
    }

    @media (max-width: 768px) {
        .divider-line {
            display: none;
        }
    }

    /* Toast animation */
    @keyframes toastSlideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    #toast-container .toast {
        animation: toastSlideIn 0.3s ease-out !important;
    }

    /* Fix for autofill background */
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.08) inset !important;
        -webkit-text-fill-color: #ffffff !important;
        caret-color: #ffffff !important;
    }