.auth-register {
    padding: 60px 20px;
    background: #f4f3eb;
    text-align: center;
}

.auth-register__container {
    max-width: 1000px;
    margin: 0 auto;
}

.auth-register__heading {
    margin: 0 0 28px;
    font-size: 42px; /* ↓ giảm mạnh */
    font-weight: 800;
    color: #161616;
}

.auth-register__box {
    max-width: 520px; /* ↓ nhỏ lại */
    margin: 0 auto;
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
}

.auth-register__title {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
}

.auth-register__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* INPUT */
.auth-register__input {
    width: 100%;
    height: 44px; /* ↓ thấp lại */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
}

/* PASSWORD */
.auth-register__field--password .auth-register__input {
    padding-right: 40px;
}

.auth-register__toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

/* VERIFY */
.auth-register__field--verify {
    display: flex;
}

.auth-register__input--verify {
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.auth-register__send-code {
    width: 110px;
    height: 44px;
    border: none;
    background: #1e73be;
    color: #fff;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
}

/* BUTTON */
.auth-register__submit {
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #78c800;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.auth-register__submit:hover {
    background: #6fb800;
}

.auth-register__send-code:hover {
    background: #1666aa;
}

/* LINKS */
.auth-register__links {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.auth-register__links a {
    color: #1368e8;
    text-decoration: none;
}

/* ĐĂNG KÝ LỖI */
.auth-register__alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
}

.auth-register__alert--error {
    background: #fff1f1;
    border: 1px solid #f3b4b4;
    color: #c62828;
}

.auth-register__error {
    margin: 6px 0 0;
    font-size: 13px;
    color: #d93025;
    text-align: left;
}

.auth-register__input.is-error {
    border-color: #d93025;
}

/**/

.auth-register__password-rules {
    margin-top: -2px;
    margin-bottom: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f9fb;
    text-align: left;
}

.auth-register__password-rules-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.auth-register__password-rules-list {
    margin: 0;
    padding-left: 18px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.auth-register__alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
}

.auth-register__alert--error {
    background: #fff1f1;
    border: 1px solid #f3b4b4;
    color: #c62828;
}

.auth-register__error {
    margin: 6px 0 0;
    font-size: 13px;
    color: #d93025;
    text-align: left;
}

.auth-register__input.is-error {
    border-color: #d93025;
}

.auth-register__field--password {
    position: relative;
}

.auth-register__field--password .auth-register__input {
    padding-right: 46px;
}

.auth-register__toggle-password {
    position: absolute;
    top: 22px;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}
/*ẠJAX ĐĂNG KÝ*/
.auth-register__status {
    margin-top: 6px;
    font-size: 13px;
    text-align: left;
    min-height: 18px;
}

.auth-register__status.is-checking {
    color: #6b7280;
}

.auth-register__status.is-success {
    color: #1f9d55;
}

.auth-register__status.is-error {
    color: #d93025;
}
.auth-register__send-code:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.auth-register__link-btn {
    background: none;
    border: none;
    padding: 0;
    color: #1665e8;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.auth-register__alert--success {
    background: #edf9f0;
    color: #147d31;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 14px;
}


.auth-register__forgot-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #6b7280;
    text-align: left;
    line-height: 1.6;
}

.auth-register__countdown {
    display: none;
    margin-top: -6px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    font-size: 13px;
    line-height: 1.5;
    color: #475467;
    text-align: left;
}

.auth-register__otp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 16px;
    background: rgba(15, 23, 42, 0.52);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.auth-register__otp-dialog {
    position: relative;
    width: min(100%, 430px);
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
    animation: rtmOtpPopupIn .22s ease-out;
    text-align: left;
}

.auth-register__otp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #f8fafc;
    color: #667085;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.auth-register__otp-close:hover {
    background: #eef2f6;
}

.auth-register__otp-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecfdf3 0%, #d1fadf 100%);
    color: #027a48;
    font-size: 28px;
    font-weight: 700;
}

.auth-register__otp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff8ff;
    color: #175cd3;
    font-size: 12px;
    font-weight: 700;
}

.auth-register__otp-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
    color: #101828;
}

.auth-register__otp-text {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #475467;
}

.auth-register__otp-timer {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff8e8;
    color: #9a6700;
    font-size: 13px;
    line-height: 1.5;
}

.auth-register__otp-btn {
    margin-top: 0;
}

@keyframes rtmOtpPopupIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .auth-register__otp-dialog {
        padding: 20px;
        border-radius: 18px;
    }

    .auth-register__otp-title {
        font-size: 21px;
    }
}

/* =============================================
   Social Login — Google / Facebook
   ============================================= */
.auth-social {
    margin-bottom: 12px;
}

.auth-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #dadce0;
    background: #fff;
    color: #3c4043;
    transition: background 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.auth-social__btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    color: #3c4043;
}

.auth-social__btn--google {
    border-color: #dadce0;
}

.auth-social__icon {
    flex-shrink: 0;
}

.auth-social__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: #999;
    font-size: 13px;
}

.auth-social__divider::before,
.auth-social__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-social__btn--facebook {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.auth-social__btn--facebook:hover {
    background: #0c5fd6;
    border-color: #0c5fd6;
    color: #fff;
    box-shadow: 0 1px 4px rgba(24,119,242,0.4);
}
