.u2-recovery-code {
    text-align: center;
    letter-spacing: .38em;
    font-weight: 800 !important;
    font-size: 20px !important;
    padding-left: 58px !important;
}

.u2-recovery-help {
    margin: 8px 0 0;
    color: var(--u2-muted);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.u2-auth-link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--u2-primary-dark);
    font: 800 14px Inter, sans-serif;
    cursor: pointer;
}

.u2-auth-link-button:hover {
    text-decoration: underline;
}

.u2-auth-link-button:disabled {
    opacity: .55;
    cursor: wait;
}

.u2-recovery-success {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid #bce5d2;
    border-radius: 14px;
    background: #edf9f4;
    color: #17633e;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.u2-recovery-success strong {
    display: block;
    margin-bottom: 4px;
}

.u2-recovery-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.u2-recovery-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--u2-line);
    border-radius: 13px;
    background: #fff;
    color: var(--u2-primary-dark);
    font: 800 14px Inter, sans-serif;
    text-decoration: none;
}

.u2-recovery-secondary:hover {
    background: var(--u2-primary-soft);
}

/* The base alert uses display:flex, which otherwise overrides the HTML hidden attribute. */
.u2-auth-alert[hidden] {
    display: none !important;
}

@media (max-width: 520px) {
    .u2-recovery-code {
        letter-spacing: .28em;
        padding-left: 45px !important;
    }
}
