/* Wspólny wygląd stron logowania, resetu hasła i 2FA — spójny z Page.css + Controls.css (HFS) */

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #000;
}

.auth-card {
    width: 380px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 28px 32px 32px;
    background: #fff;
    border: 1px solid #00923f;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.auth-title {
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
    color: #000;
}

/* Krótki opis pod tytułem (2FA, itp.) */
.auth-intro {
    margin: 0 0 18px 0;
    font-size: 9pt;
    line-height: 1.45;
    color: #333;
    text-align: center;
}

/* Pole na jednorazowy kod OTP — czytelniejsze wpisywanie */
.auth-code-input {
    font-size: 13pt;
    letter-spacing: 0.18em;
    text-align: center;
    font-family: Consolas, "Courier New", monospace;
}

.auth-form-group {
    margin-bottom: 14px;
}

    .auth-form-group label,
    .auth-label {
        display: block;
        margin-bottom: 5px;
        font-size: 9pt;
        font-weight: bold;
        color: #000;
    }

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #a7bad5;
    border-radius: 2px;
    font-size: 9pt;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

    .auth-input:focus {
        outline: none;
        border-color: #006633;
        box-shadow: 0 0 0 2px rgba(0, 102, 51, 0.15);
    }

.auth-checkbox-row {
    margin-bottom: 16px;
    font-size: 9pt;
}

    .auth-checkbox-row input[type=checkbox] {
        margin-right: 6px;
        vertical-align: middle;
    }

/* Przycisk jak .Button z Controls.css, na całą szerokość karty */
.auth-btn-primary {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #dce4f9;
    border-bottom: 2px solid #a7bad5;
    border-right: 2px solid #a7bad5;
    border-radius: 2px;
    background-color: #006633;
    color: #fff;
    font-size: 0.95em;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

    .auth-btn-primary:hover {
        color: #fff;
        border-color: #193e95;
    }

    .auth-btn-primary:disabled {
        background-color: #5a8a6e;
        border-color: #a7bad5;
        cursor: default;
    }

.auth-error-box {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #c44;
    background: #fdeaea;
    color: #a12626;
    border-radius: 2px;
    font-size: 9pt;
}

/* Ostrzeżenie (np. wygasłe hasło — musi być zmienione) */
.auth-warning-box {
    margin: 0 0 16px 0;
    padding: 10px 12px;
    border: 1px solid #c9a227;
    background: #fffbeb;
    color: #5c4a00;
    border-radius: 2px;
    font-size: 9pt;
    line-height: 1.45;
}

.auth-info-box,
.auth-success-box {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #00923f;
    background: #f4faf6;
    color: #003d1f;
    border-radius: 2px;
    font-size: 9pt;
    line-height: 1.4;
}

.auth-success-box {
    background: #eef7f0;
}

.auth-error-text {
    color: #a12626;
}

.auth-help-row {
    margin-top: 16px;
    text-align: center;
    font-size: 9pt;
}

    .auth-help-row a,
    .auth-link {
        font-weight: bold;
        text-decoration: underline;
        color: #006633;
    }

        .auth-help-row a:hover,
        .auth-link:hover {
            color: #7c6f57;
        }

/* Komunikaty walidatorów ASP.NET pod polami */
.auth-validator,
span.auth-validator {
    display: inline-block;
    margin-top: 4px;
    font-size: 8pt;
    color: #a12626;
}
