/* تنظیمات پایه و فونت */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* کارت اصلی فرم */
.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* سرتیتر فرم */
.auth-header h2 {
    color: #333333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: #777777;
    font-size: 14px;
    margin-bottom: 30px;
}

/* استایل اینپوت‌ها */
.input-group {
    margin-bottom: 20px;
    text-align: right;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
}

.input-group input:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* دکمه اصلی */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.1s ease;
}

.btn-primary:hover {
    opacity: 0.95;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* بخش نمایش شماره وارد شده و دکمه ویرایش */
.user-phone-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f3ff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #4c51bf;
    font-weight: 500;
}

.btn-link {
    background: none;
    border: none;
    color: #e53e3e;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
}

.btn-link:hover {
    text-decoration: underline;
}

/* پیام‌های خطا */
.error-message {
    margin-top: 15px;
    background: #fff5f5;
    color: #e53e3e;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid #feb2b2;
}