/* ==========================================================================
   Pagine di accesso (auth/*): integrazioni allo stile del tema
   ========================================================================== */

.auth-main h2 {
    margin-bottom: .35rem;
}

.auth-main .auth-lead {
    margin-bottom: 1.25rem;
    color: #8a8f98;
}

/* campo password con pulsante mostra/nascondi */
.auth-password {
    position: relative;
}

.auth-password .form-control {
    padding-right: 2.75rem;
}

.auth-password .form-control.is-invalid {
    background-image: none;   /* l'icona di errore di Bootstrap si sovrapporrebbe al pulsante */
}

.auth-password__toggle {
    position: absolute;
    top: 50%;
    right: .35rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: .4rem;
    background: transparent;
    color: #8a8f98;
}

.auth-password__toggle:hover,
.auth-password__toggle:focus-visible {
    color: var(--theme-default, #7366ff);
    background: rgba(0, 0, 0, .04);
    outline: none;
}

.auth-password__toggle:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(67, 185, 178, .25);
}

.auth-hint {
    margin-top: .3rem;
    font-size: .78rem;
    color: #8a8f98;
}

.auth-alert {
    font-size: .875rem;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-top: .25rem;
}

.auth-footer {
    margin: 1.5rem 0 0;
    text-align: center;
}

.auth-footer a {
    margin-left: .35rem;
    font-weight: 600;
}

.auth-main .btn-primary {
    color: #fff;
}

/* separatore "oppure" e pulsanti degli account esterni (Accedi con Microsoft) */
.auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem 0 1rem;
    font-size: .8rem;
    color: #8a8f98;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #e6e8eb;
}

.auth-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-weight: 600;
}

.auth-social + .auth-social {
    margin-top: .5rem;
}

.auth-social__logo {
    flex: none;
}
