/*
 * Estilos do modulo de autenticacao.
 * O Bootstrap 5.3 fornece a base responsiva e o dark mode.
 */

.auth-body {
    min-height: 100vh;
    background: linear-gradient(120deg, #5946f2 0%, #6d66f6 52%, #8da2ff 100%);
}

.auth-shell {
    min-height: 100vh;
}

.auth-panel,
.auth-card {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
}

.auth-login-page {
    min-height: 100vh;
    overflow: hidden;
}

.auth-captcha {
    border: 1px solid #e4e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.auth-hero-content {
    width: min(520px, 80%);
    margin-left: clamp(48px, 9vw, 150px);
    color: #ffffff;
}

.auth-logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    font-weight: 700;
}

.auth-logo-icon {
    display: inline-grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    font-size: 18px;
    line-height: 1;
}

.auth-hero-content h1 {
    margin: 0 0 22px;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 700;
    letter-spacing: 0;
}

.auth-hero-subtitle {
    margin-bottom: 38px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.94);
}

.auth-hero-text {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.auth-login-card {
    width: min(512px, calc(100% - 32px));
    padding: clamp(32px, 5vw, 72px) clamp(28px, 4vw, 64px);
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 26px 90px rgba(25, 35, 80, 0.16);
}

.auth-form-panel {
    background: #ffffff;
}

.auth-form-panel .form-control,
.auth-form-panel .form-check-input,
.auth-login-card .form-control,
.auth-login-card .form-check-input {
    border-color: #cbd5e1;
}

.auth-form-panel .form-control,
.auth-login-card .form-control {
    min-height: 52px;
    border-radius: 999px;
    background: #ffffff;
    padding-left: 18px;
    padding-right: 18px;
}

.auth-form-panel .form-control:focus,
.auth-login-card .form-control:focus {
    border-color: #5b48f1;
    box-shadow: 0 0 0 0.2rem rgba(91, 72, 241, 0.14);
}

.auth-login-options {
    font-size: 15px;
}

.auth-login-options a {
    color: #5946f2;
    text-decoration: none;
}

.auth-login-options a:hover {
    text-decoration: underline;
}

.auth-login-button {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: #5946f2;
    font-weight: 700;
}

.auth-login-button:hover,
.auth-login-button:focus {
    background: #4736d9;
}

.auth-code {
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .auth-card,
    .auth-panel {
        border-radius: 0;
    }

    .auth-login-page {
        display: flex;
        align-items: center;
        padding: 18px 0;
    }

    .auth-login-card {
        width: calc(100% - 24px);
        padding: 28px 22px;
        border-radius: 24px;
    }

    .auth-login-options {
        align-items: flex-start !important;
        flex-direction: column;
    }
}
