
    /* Auth Page Layout */
    .auth-page {
        min-height: 80vh;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, rgba(47, 49, 147, 0.05) 0%, rgba(245, 130, 32, 0.05) 100%);
    }

    .min-vh-80 {
        min-height: 80vh;
    }

    /* Auth Card */
    .auth-card {
        background: white;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .auth-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }

    .auth-header {
        overflow: hidden;
    }

    .auth-header-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: center;
    }

    .auth-header-content {
        z-index: 2;
        background: linear-gradient(135deg, rgba(47, 49, 147, 0.9) 0%, rgba(26, 28, 102, 0.9) 100%);
    }

    .auth-icon {
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    .auth-title {
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .auth-subtitle {
        font-size: 0.95rem;
    }

    /* Form Styling */
    .form-control-lg {
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 8px;
        border: 2px solid #e0e0e0;
        transition: all 0.3s ease;
    }

    .form-control-lg:focus {
        border-color: #2f3193;
        box-shadow: inherit;
    }

    .input-group-text {
        background: #f8f9fa;
        border: 0;
        border-right: none;
        transition: all 0.3s ease;
    }

    .input-group:focus-within .input-group-text, .input-group:focus-within .toggle-password{
        border-color: #2f3193;
        background: rgba(47, 49, 147, 0.05);
    }

    .password-input {
        border-right: none;
    }

    .toggle-password {
        border: 0;
        border-left: none;
        background: inherit !important;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #6c757d !important;
        border-radius: 0 8px 8px 0px;
    padding: 0 15px;
    }

    .toggle-password:hover {
        background: #e9ecef;
        border-color: #ced4da;
    }
 .toggle-password::before{
     display:none;
 }
    /* Checkbox Customization */
    .form-check-input {
        width: 30px;
        height: 30px;
        cursor: pointer;
        border: 2px solid #dee2e6;
    }

    .form-check-input:checked {
        background-color: #2f3193;
        border-color: #2f3193;
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(47, 49, 147, 0.25);
    }
    .form-check {
    padding-left: 2.5em;
    display: flex;
    align-items: center;
    line-height: 18px;
    gap: 10px;
}
.form-check .form-check-label{
    position: relative;
    top: 3px;
}
.form-check .form-check-input {
    margin-left: -2.5em;
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}
.input-group .form-control-lg{
    border:0;
}
.input-group:focus, .input-group:hover{
    border-color: #2f3193;
}
    /* Divider */
    .divider {
        display: flex;
        align-items: center;
        text-align: center;
    }

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .divider-text {
        padding: 0 15px;
        color: #6c757d;
        font-size: 0.875rem;
        font-weight: 500;
    }

    /* Buttons */
    .btn-primary {
        background: linear-gradient(135deg, #2f3193 0%, #1a1c66 100%);
        border: none;
        font-weight: 600;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #1a1c66 0%, #2f3193 100%);
        box-shadow: 0 5px 15px rgba(47, 49, 147, 0.3);
    }

    .btn-lg {
        padding: 15px 32px;
        font-size: 16px;
    }

    /* External Login Buttons */
    .btn-outline-light {
        border: 1px solid #dee2e6;
        color: #495057;
        transition: all 0.3s ease;
    }

    .btn-outline-light:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        transform: translateY(-2px);
    }

    /* Alert Styling */
    .alert {
        border: none;
        border-radius: 8px;
        padding: 12px 16px;
    }

    .alert-danger {
        background: #fee;
        color: #dc3545;
        border-left: 4px solid #dc3545;
    }

    .alert-warning {
        background: #fff3cd;
        color: #856404;
        border-left: 4px solid #ffc107;
    }

    /* Two Factor Section */
    .two-factor-section {
        animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Responsive Design */
    @media (max-width: 768px) {

        .auth-body {
            padding: 2rem !important;
        }
        
        .btn-lg {
            padding: 10px 20px;
            font-size: 15px;
        }
        
        .form-control-lg {
            font-size: 15px;
            padding: 10px 14px;
        }
    }

    @media (max-width: 576px) {
        .auth-page {
            padding: 20px 0;
        }
        
        .auth-body {
            padding: 1.5rem !important;
        }
        
        .external-login-section .col-6 {
            width: 100%;
            margin-bottom: 10px;
        }
    }

    /* Loading Animation for Submit */
    .btn-loading {
        position: relative;
        pointer-events: none;
    }

    .btn-loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-top: -10px;
        margin-left: -10px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb {
        background: #2f3193;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #1a1c66;
    }
