/* auth.css - استایل برای صفحات ورود و ثبت‌نام */

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px); /* ارتفاع صفحه منهای هدر */
    background-color: #f0f4f8;
}

.auth-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px;
}

.auth-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.auth-form p {
    color: #6c757d;
    margin-bottom: 30px;
}

.form-control {
    margin-bottom: 20px;
}

.form-control label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-options {
    text-align: left;
    margin-bottom: 20px;
}

.form-options a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
}

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

.auth-art {
    flex: 1;
    display: none; /* در حالت عادی مخفی است */
}

.auth-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* نمایش تصویر در صفحات بزرگتر */
@media (min-width: 768px) {
    .auth-art {
        display: block;
    }
}