.auth-registration-modes {
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.auth-registration-modes legend {
    padding: 0;
    font-size: 12px;
    font-weight: 800;
}

.auth-registration-modes > p {
    margin: 6px 0 12px;
    color: var(--slate-500);
    font-size: 10px;
    line-height: 1.75;
}

.auth-registration-modes .auth-role-switch label {
    min-height: 62px;
    padding: 10px 12px;
    display: grid;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    text-align: start;
    cursor: pointer;
}

.auth-registration-modes .auth-role-switch label.active {
    border-color: var(--cobalt-600);
    background: var(--cobalt-100);
    box-shadow: 0 0 0 2px rgba(49, 87, 213, .08);
}

.auth-registration-modes input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.auth-registration-modes strong {
    font-size: 12px;
}

.auth-registration-modes small {
    color: var(--slate-500);
    font-size: 9px;
}

.auth-registration-modes label.active small {
    color: var(--ink-800);
}

.auth-resend {
    justify-self: end;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--cobalt-600);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.auth-resend:disabled {
    cursor: wait;
    opacity: .55;
}
