.auth__message:not([hidden]) {
    display: block;
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 2px solid #dc2626;
    border-radius: 12px;
    background: #fff1f2;
    box-shadow: 0 3px 12px rgb(220 38 38 / 24%);
    color: #7f1d1d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    opacity: 1;
    visibility: visible;
}

.auth__message--success:not([hidden]) {
    border-color: #15803d;
    background: #f0fdf4;
    color: #14532d;
}

#authSubmit:disabled {
    cursor: wait;
    opacity: .7;
}

.registration-welcome {
    width: min(440px, calc(100vw - 32px));
    max-width: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-strong, rgba(255, 255, 255, .16));
    border-radius: 24px;
    background: var(--surface, #151515);
    color: var(--text, #f3f3f3);
    box-shadow: var(--shadow);
}

.registration-welcome::backdrop {
    background: var(--backdrop, rgba(0, 0, 0, .78));
    backdrop-filter: blur(6px);
}

.registration-welcome__inner {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 34px 30px 30px;
    text-align: center;
}

.registration-welcome__mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid var(--border-strong, rgba(255, 255, 255, .16));
    border-radius: 50%;
    color: var(--accent, #c9c9c9);
    font-size: 27px;
}

.registration-welcome__title {
    color: var(--text, #f3f3f3);
    font-family: var(--font-display, inherit);
    font-size: clamp(25px, 6vw, 34px);
    line-height: 1.1;
}

.registration-welcome__message {
    color: var(--text-dim, #a5a5a5);
    font-size: 15px;
    line-height: 1.65;
}

.registration-welcome__button {
    min-height: 46px;
    padding: 11px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-grad, #f3f3f3);
    color: var(--on-accent, #0a0a0a);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.registration-welcome__button:hover {
    filter: brightness(1.08);
}
