/* ==========================
   فرم چندمرحله‌ای ورود مشتری مدار
========================== */

.vmm-login-form {
    max-width: 380px;
    margin: 0px auto;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   
    direction: rtl;
}

.vmm-login-form h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.vmm-login-form p {
    text-align: center;
    font-size: 14px;
}

/* فیلدها */
.vmm-login-form input[type="text"],
.vmm-login-form input[type="password"],
.vmm-login-form input[type="number"],
.vmm-login-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.vmm-login-form input:focus {
    border-color: #2196f3;
    box-shadow: 0 0 5px rgba(33,150,243,0.3);
    outline: none;
}

/* کپچا */
.vmm-captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#vmm-captcha-code {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 3px;
    padding: 2px 10px;
    border-radius: 8px;
}

.vmm-captcha-refresh {
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s;
}

.vmm-captcha-refresh:hover {
    transform: rotate(90deg);
}

/* دکمه‌ها */
.vmm-login-form button {
    width: 100%;
    padding: 12px 0;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vmm-login-form button:hover {
    opacity: 0.9;
}

.vmm-login-form button:disabled {
    background: #9e9e9e !important;
    cursor: not-allowed;
}

/* پیام خطا */
.vmm-error {
    color: #e53935;
    font-size: 13px;
    margin: 5px 0;
    text-align: center;
    display: none;
}

/* ==========================
   مرحله دوم: کد تایید
========================== */
.vmm-otp-box {
    display: flex;
    justify-content: center;
}

#vmm-otp-code {
    letter-spacing: 8px;
    text-align: center;
    font-size: 20px;
}

.vmm-timer {
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
}

/* ==========================
   مرحله سوم: ثبت نام
========================== */
#vmm-step-register .vmm-field {
    margin-bottom: 12px;
}

#vmm-step-register .vmm-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    display: flex;
    align-items:center;

}

#vmm-step-register .vmm-field input {
    font-size: 13px;
    margin-left:10px;
}

/* دکمه تغییر شماره و ارسال مجدد */
#vmm-resend-code, 
#vmm-change-phone {
    margin-top: 5px;
}

#vmm-resend-code:hover, 
#vmm-change-phone:hover {
    background: #e0e0e0;
}
.vmm-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.6);
}

.vmm-modal-content {

    margin: 8% auto;
    padding: 20px;
    max-width: 420px;
    width: 90%;
    border-radius: 12px;
    position: relative;
}

.vmm-close {
      position: absolute;
    top: 34px;
    left: 36px;
    font-size: 43px;
    cursor: pointer;
    COLOR: #FFFF;
}
.vmm-login-form a,
.vmm-login-form a:visited {
    color: inherit;      /* رنگ رو از والد بگیره */
    text-decoration: none; /* اختیاری: خط زیر لینک رو حذف می‌کنه */
}
