@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.auth-login-section {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0 3rem;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(0, 68, 172, 0.08), transparent 42%),
        radial-gradient(ellipse at 88% 12%, rgba(14, 165, 233, 0.07), transparent 38%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.auth-login-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 38, 108, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
    pointer-events: none;
}

.auth-login-container {
    position: relative;
    z-index: 1;
}

.auth-login-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.5rem;
}

.auth-login-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 68, 172, 0.08);
    color: #0044ac;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-login-visual-img {
    width: min(100%, 420px);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 18px 36px rgba(0, 38, 108, 0.1));
}

.auth-login-visual-text {
    max-width: 22rem;
    margin: 1.35rem auto 0;
    color: rgba(0, 38, 108, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
}

.auth-login-card {
    background: #ffffff;
    border: 1px solid rgba(0, 68, 172, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 38, 108, 0.1);
    padding: 2rem 1.75rem;
}

.auth-login-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0.45rem;
}

.auth-login-heading-line {
    flex: 1;
    max-width: 3.5rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(0, 68, 172, 0.35);
}

.auth-login-heading-title {
    margin: 0;
    color: #00266c;
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.auth-login-subtitle {
    margin: 0 0 1.5rem;
    color: rgba(0, 38, 108, 0.62);
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
}

.auth-login-form .message {
    margin-bottom: 1rem;
}

.auth-login-field {
    margin-bottom: 1rem;
}

.auth-login-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #00266c;
    font-size: 0.82rem;
    font-weight: 600;
}

.auth-login-input {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border: 1px solid rgba(0, 68, 172, 0.16);
    border-radius: 0.75rem;
    background: #f8fbff;
    color: #00266c;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-login-input::placeholder {
    color: rgba(0, 38, 108, 0.38);
}

.auth-login-input:focus {
    outline: none;
    border-color: rgba(0, 68, 172, 0.42);
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(0, 68, 172, 0.12);
}

.auth-login-input.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.auth-login-field p {
    margin: 0.35rem 0 0;
    color: #dc3545;
    font-size: 0.78rem;
}

.auth-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.82rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #1e88e5 0%, #0044ac 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(0, 68, 172, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-login-submit:hover {
    color: #ffffff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 68, 172, 0.34);
}

.auth-login-submit:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.auth-login-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(0, 68, 172, 0.08);
}

.auth-login-link {
    color: #0044ac;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-login-link:hover {
    color: #00266c;
}

.auth-login-link--muted {
    color: rgba(0, 38, 108, 0.68);
    font-weight: 500;
}

.auth-login-link--muted strong {
    color: #0044ac;
    font-weight: 700;
}

.auth-login-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
}

.auth-login-form-grid .auth-login-field--full {
    grid-column: 1 / -1;
}

.auth-login-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300266c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    padding-right: 2.25rem;
}

.auth-login-form .contact-form-group {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

.auth-login-form .contact-form-group .form-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #00266c;
    font-size: 0.82rem;
    font-weight: 600;
}

.auth-login-form .contact-form-group .form-control {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border: 1px solid rgba(0, 68, 172, 0.16);
    border-radius: 0.75rem;
    background: #f8fbff;
    color: #00266c;
    font-family: inherit;
    font-size: 0.9rem;
}

.auth-login-form .contact-form-group .form-control:focus {
    outline: none;
    border-color: rgba(0, 68, 172, 0.42);
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(0, 68, 172, 0.12);
}

.auth-login-links--center {
    justify-content: center;
}

@media (max-width: 991.98px) {
    .auth-login-section {
        padding: 1rem 0 2.25rem;
    }

    .auth-login-card {
        padding: 1.65rem 1.25rem;
    }

    .auth-login-visual {
        padding-bottom: 0.25rem;
    }

    .auth-login-visual-img {
        width: min(100%, 300px);
    }

    .auth-login-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .auth-login-form-grid {
        grid-template-columns: 1fr;
    }
}
