.sms-login-help {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
}

.sms-phone-input .auth-phone-prefix {
    min-width: 64px;
}

.sms-login-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(17, 24, 39, .58);
    backdrop-filter: blur(3px);
}

.sms-login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    width: min(92vw, 480px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
    text-align: center;
    transform: translate(-50%, -50%);
}

.sms-login-modal h2 {
    margin: 12px 0 8px;
    font-size: 28px;
}

.sms-login-modal p {
    margin: 0 0 20px;
    color: #667085;
}

.sms-login-close {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #667085;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
}

.sms-login-icon {
    display: inline-grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: #eef6ff;
    color: #2563eb;
    font-size: 26px;
}

.sms-code-fields {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
    margin: 22px 0 0;
}

.sms-code-fields input {
    width: 100%;
    min-width: 0;
    height: 58px;
    border: 2px solid #d9dee7;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.sms-code-fields input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.sms-resend-form {
    margin-top: 18px;
}

.sms-resend-button {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-weight: 600;
}

.sms-resend-button:disabled {
    color: #98a2b3;
    cursor: not-allowed;
}

.sms-account-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    text-align: left;
}

.sms-account-option {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #d9dee7;
    border-radius: 12px;
    cursor: pointer;
}

.sms-account-option:has(input:checked) {
    border-color: #2563eb;
    background: #eef6ff;
}

.sms-account-option span,
.sms-account-option small {
    display: block;
}

.sms-account-option small {
    margin-top: 3px;
    color: #667085;
}

@media (max-width: 575px) {
    .sms-login-modal {
        width: calc(100vw - 24px);
        padding: 28px 18px;
        border-radius: 16px;
    }

    .sms-code-fields {
        gap: 6px;
    }

    .sms-code-fields input {
        height: 50px;
        font-size: 21px;
    }
}
