/* v0.5.0 - membership rejection correction / resubmission */
.auth-message {
    white-space: pre-line;
}

.auth-correction-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--auth-warning-border);
    border-radius: 10px;
    background: var(--auth-warning-bg);
    color: var(--auth-warning);
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.auth-correction-action[hidden] {
    display: none;
}

.auth-correction-action:hover {
    filter: brightness(1.03);
}

.auth-correction-action:focus-visible {
    outline: 3px solid var(--auth-focus-ring);
    outline-offset: 2px;
}

.auth-correction-summary {
    display: grid;
    gap: 7px;
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--auth-warning-border);
    border-radius: 12px;
    background: var(--auth-warning-bg);
    color: var(--auth-warning);
}

.auth-correction-summary strong,
.auth-correction-summary p {
    margin: 0;
}

.auth-correction-summary p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.55;
}

.auth-document-current {
    padding: 12px 14px;
    border: 1px solid var(--auth-border-soft);
    border-radius: 10px;
    background: var(--auth-surface-sub);
    color: var(--auth-text-strong);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
