@import url("/css/login-premium-v1.css");

/* Registration, email verification and login OTP extensions */
.auth-form--register {
    gap: 15px;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-hint {
    margin: 7px 0 0;
    color: #8397b3;
    font-size: 0.72rem;
    line-height: 1.45;
}

.auth-form--register .auth-check {
    margin-top: -1px;
    line-height: 1.55;
}

.auth-form--register .auth-submit {
    margin-top: 2px;
}

.auth-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 13px 14px;
    border: 1px solid #dcebfa;
    border-radius: 12px;
    background: #f7fbff;
    color: var(--auth-muted);
    font-size: 0.74rem;
    line-height: 1.55;
}

.auth-note svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--auth-cyan);
}

.auth-note strong {
    color: #22324e;
    font-weight: 600;
}

.auth-note a {
    color: var(--auth-blue);
    font-weight: 600;
    text-decoration: none;
}

.auth-note a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-email-chip {
    display: inline-block;
    padding: 2px 7px;
    border: 1px solid #cfe2fb;
    border-radius: 6px;
    background: #f1f8ff;
    color: var(--auth-blue) !important;
    font-weight: 600;
    word-break: break-all;
}

.auth-code-input {
    height: 62px;
    padding: 0 14px;
    border-radius: 13px;
    color: var(--auth-navy);
    font-family: var(--auth-display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.48em;
    text-align: center;
    text-indent: 0.24em;
}

.auth-code-input::placeholder {
    color: #b8c7da;
    letter-spacing: 0.4em;
    text-indent: 0.2em;
}

.auth-reasons {
    margin-bottom: 17px;
    padding: 12px 14px;
    border: 1px solid #fde68a;
    border-radius: 11px;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.77rem;
    line-height: 1.55;
}

.auth-reasons strong {
    display: block;
    margin-bottom: 4px;
    color: #78350f;
    font-weight: 600;
}

.auth-reasons p {
    margin: 2px 0;
}

.auth-resend {
    margin-top: 13px;
}

.auth-resend .auth-secondary {
    height: 48px;
    background: transparent;
    font-size: 0.8rem;
}

.auth-resend .auth-secondary:hover {
    background: var(--auth-soft);
}

.auth-notice-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
    border: 1px solid #cfe5f8;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8f4ff, #effcff);
    color: var(--auth-primary);
    box-shadow: 0 12px 28px -18px rgba(11, 63, 158, 0.35);
}

.auth-notice-icon svg {
    width: 30px;
    height: 30px;
}

.auth-notice h2 {
    margin: 0;
    color: var(--auth-ink);
    font-family: var(--auth-display);
    font-size: clamp(1.85rem, 2.3vw, 2.3rem);
    font-weight: 650;
    letter-spacing: -0.05em;
    line-height: 1.13;
}

.auth-notice > p {
    margin: 12px 0 0;
    color: var(--auth-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.auth-notice-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.auth-logout {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    font-family: var(--auth-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.auth-logout:hover {
    color: var(--auth-blue);
}

.auth-notice-help {
    margin-top: 20px;
    color: #8397b3;
    font-size: 0.74rem;
    line-height: 1.6;
    text-align: center;
}

.auth-notice-help a {
    color: var(--auth-blue);
    font-weight: 600;
    text-decoration: none;
}

.auth-notice-help a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 520px) {
    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-code-input {
        height: 58px;
        font-size: 1.42rem;
    }
}
