/* صفحات ورود و ثبت‌نام - فونت وزیرمتن */

.auth-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 0 20px;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.6rem;
}

.auth-form .input-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif;
    direction: ltr;
    text-align: left;
    background: #fff;
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.auth-form input::placeholder {
    direction: rtl;
    text-align: right;
    color: var(--text-muted);
    font-family: 'Vazirmatn', 'Vazir', sans-serif;
}

.auth-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    margin-top: 10px;
    font-weight: 600;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* پیام‌های ثابت */
.alert-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 90%;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .auth-container {
        margin: 30px auto;
    }
    .auth-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
}