/* --- LOGIN / AUTH PAGE STYLES --- */

.login-wrapper {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left Side Branding */
.bg-brand-dark {
    background: linear-gradient(135deg, #001e42 0%, #000b1a 100%);
    position: relative;
}

/* Fix for Logo Aspect Ratio */
.login-brand-logo {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* background: white; */
    /* This line prevents the "squished" look */
    object-fit: cover;
}

/* Right Side Form */
.login-card {
    max-width: 450px;
    padding: 40px;
}

/* Custom Auth Inputs */
.auth-input {
    border: 1px solid #dee2e6;
    border-left: none;
    /* Merges with icon */
    padding: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s;
    background-color: #fcfcfc;
}

.auth-input:focus {
    box-shadow: none;
    background-color: #fff;
    border-color: var(--dr-blue);
}

/* Style the Input Group (Icon + Input) wrapper on focus */
.input-group:focus-within .input-group-text {
    border-color: var(--dr-blue);
    background-color: #fff;
}

.input-group:focus-within .input-group-text i {
    color: var(--dr-blue) !important;
}

.input-group-text {
    border: 1px solid #dee2e6;
    border-right: none;
    background-color: #fcfcfc;
    transition: all 0.3s;
}

/* Mobile Background Pattern */
.bg-light-pattern {
    background-image: radial-gradient(#002d62 0.5px, transparent 0.5px), radial-gradient(#002d62 0.5px, #f8f9fa 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.05;
}

/* Responsive Tweak for Mobile Height */
@media (max-width: 991px) {
    .login-wrapper {
        height: auto;
        min-height: 100vh;
        background: #f8f9fa;
    }

    .login-card {
        padding: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
}