/* ==========================
   فرم چندمرحله‌ای ورود مشتری مدار
========================== */

.vmm-login-form {
    max-width: 380px;
    margin: 50px auto;
    padding: 25px 20px;

    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: 'IRANSans', sans-serif;
    direction: rtl;
}

.vmm-login-form h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.vmm-login-form p {
    text-align: center;
    color: #555;
    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;
}

#vmm-captcha-code {
    display: inline-block;
    background: #000000;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 2px 10px;
    border-radius: 8px;
}

/* دکمه‌ها */
.vmm-login-form button {
    width: 100%;
    padding: 12px 0;
    margin-top: 10px;
    background: #000a12;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vmm-login-form button:hover {
    background: #1976d2;
}

.vmm-login-form button:disabled {
    background: #9e9e9e;
    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;
    color: #333;
}

/* ==========================
   مرحله سوم: ثبت نام
========================== */
#vmm-step-register .vmm-field {
    margin-bottom: 12px;
}

#vmm-step-register .vmm-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #555;
}

#vmm-step-register .vmm-field input {
    font-size: 13px;
}

/* دکمه تغییر شماره و ارسال مجدد */
#vmm-resend-code, #vmm-change-phone {
    background: #f1f1f1;
    color: #333;
    margin-top: 5px;
}

#vmm-resend-code:hover, #vmm-change-phone:hover {
    background: #e0e0e0;
}
.vmm-captcha {
    display: flex;
    align-items: center;
    gap: 8px;
}

#vmm-captcha-code {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 3px;
}

.vmm-captcha-refresh {
    cursor: pointer;
    font-size: 20px;
    color: #555;
    transition: transform 0.3s;
}

.vmm-captcha-refresh:hover {
    color: #000;
    transform: rotate(90deg);
}
