/* AAX authentication forms — scoped to Raffia account login and registration. */
.aax-auth-password > .form-control {
    padding-right: 48px !important;
}
.aax-auth-password > .aax-password-toggle,
.aax-auth-password > .form-control.is-invalid + .aax-password-toggle {
    right: 0 !important;
    top: 50%;
    width: 42px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--brand-primary);
    cursor: pointer;
    z-index: 10;
}
.aax-auth-password > .aax-password-toggle:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: -4px;
}
.aax-auth-form .desktop-auth-field .invalid-feedback.d-block {
    display: block !important;
    margin-top: 6px;
    font-size: 13px;
}
.aax-auth-form .form-control.is-invalid {
    border-bottom-color: var(--bs-danger, #dc3545) !important;
}
.aax-register-consents, .aax-register-consents .form-switch {
    width: 100%;
}
.aax-register-consents .form-check-input {
    flex: 0 0 auto;
}
.aax-register-consents .form-check-label {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

/* Password recovery: use the existing Raffia account card and olive palette. */
.aax-recovery-confirmation { text-align: center; }
.aax-recovery-confirmation .raffia-auth-heading {
    border-bottom: 1px solid var(--border-primary);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.aax-recovery-confirmation p { color: var(--text-main); line-height: 1.65; margin-bottom: 24px; }
.aax-auth-success {
    color: var(--brand-primary);
    border-bottom: 1px solid var(--border-primary);
    padding-bottom: 14px;
    margin-bottom: 22px;
    text-align: center;
    line-height: 1.6;
}
