@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakhFaNum-VF.ttf') format('truetype');
    font-display: swap; /* مهم برای SEO: تا فونت لود بشه، متن مخفی نمی‌مونه */
}
/* استایل‌های سریع منطبق بر طرح گرافیکی شما */
body {   font-family: 'YekanBakh';
    src: url('../fonts/YekanBakhFaNum-VF.ttf') format('truetype');
    font-display: swap; /* مهم برای SEO: تا فونت لود بشه، متن مخفی نمی‌مونه */   background-color: #FAFAFC;
    background-image:
            radial-gradient(circle at 15% 20%, rgba(255, 166, 185, 0.14) 0%, transparent 40%),
            radial-gradient(circle at 85% 80%, rgba(184, 132, 245, 0.10) 0%, transparent 45%);; margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; color: #333; }
.auth-container { width: 100%; max-width: 400px; padding: 20px; text-align: center; }
.header h1 { font-size: 22px; color: #e91e63; margin-bottom: 10px; }
.header p { font-size: 14px; color: #777; margin-bottom: 30px; }

.input-group { margin-bottom: 20px; position: relative; }
.custom-input {
    width: 100%; padding: 15px; border: 2px solid #f0f0f0; border-radius: 15px;
    font-size: 18px; text-align: center; letter-spacing: 2px; outline: none; transition: 0.3s;
    box-sizing: border-box;
}
.custom-input:focus { border-color: #ff8a80; box-shadow: 0 0 10px rgba(255,138,128,0.2); }

.btn-primary {
    width: 100%; padding: 15px; border: none; border-radius: 15px;
    font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s;
    background-color: #ff8a80; color: white;
}
.btn-primary:disabled { background-color: #f5f5f5; color: #ccc; cursor: not-allowed; }

.error-box { background: #ffebee; color: #c62828; padding: 10px; border-radius: 10px; margin-bottom: 15px; font-size: 13px; }
.footer-text { margin-top: 30px; font-size: 12px; color: #999; }
.footer-text a { color: #e91e63; text-decoration: none; }
.resend-container {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.btn-link {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.btn-link:disabled {
    color: #999;
    cursor: not-allowed;
}

.timer-num {
    display: inline-block;
    min-width: 25px;
    font-weight: bold;
    color: #e63946; /* قرمز ملایم برای تایمر */
}
.input-group {
    width: 100%;
    margin-bottom: 15px;
    text-align: right; /* راست‌چین کردن نگهدارنده */
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #4a5568;
    text-align: right; /* راست‌چین کردن برچسب */
}

.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    text-align: right; /* راست‌چین کردن متن داخل فیلد */
    direction: rtl;
    box-sizing: border-box;
}

