.identity-login, .identity-step, .identity-email-form, .identity-code-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}
.identity-login [hidden] { display: none !important; }
.identity-login .auth-subtitle { font-size: 16px; line-height: 24px; }
.identity-login .input-wrap input { min-width: 0; padding-right: 16px; }
.identity-login .input-wrap input::placeholder { color: #5C6370; }
.identity-login button { font-family: inherit; }
.identity-login button:disabled { cursor: default; }
.identity-message {
    margin: 0;
    color: #E74036;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    overflow-wrap: anywhere;
}
.identity-code-caption {
    width: 100%;
    color: #111214;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    overflow-wrap: anywhere;
}
.identity-code-caption strong { font-weight: 500; }
.identity-code-cells {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 356px;
    align-self: center;
}
.identity-code-digit {
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 10px 0 20px;
    border: 0;
    border-bottom: 1px solid #A6C3F2;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #111214;
    caret-color: #2064D5;
    text-align: center;
    font: 500 28px/32px 'Google Sans', sans-serif;
    box-shadow: none;
}
.identity-code-digit:focus, .identity-code-digit.is-filled { border-bottom-color: #2064D5; }
.identity-code-digit[aria-invalid="true"] { border-bottom-color: #E74036; }
.identity-resend, .identity-change-account {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #2064D5;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
}
.identity-resend:disabled { color: #7AA2CD; }
.identity-change-account { height: 40px; color: #838C9A; font-size: 14px; line-height: 20px; }
.identity-resend:focus-visible, .identity-change-account:focus-visible { outline: 2px solid #2064D5; outline-offset: 2px; }
.identity-register { display: none; }
.identity-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .identity-login .auth-subtitle { font-size: 18px; }
    .identity-code-cells { max-width: 336px; gap: 12px; }
    .identity-register { display: flex; margin-top: 12px; }
}
@media (max-width: 359px) {
    .identity-code-cells { gap: 8px; }
}
