@font-face {
    font-family: 'yekanbakh';
    font-weight: 900;
    font-display: swap;
    src: url("../../fonts/YekanBakh-faNum06Bold.woff") format("woff");
}

/* کانتینر اصلی دو ستونه */
.auth-page-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: white;
}

/* سمت فرم (اسکرول دار) */
.auth-form-side {
    flex: 1;
    width: 50%;
    overflow-y: auto;
    height: 100vh;
    position: relative;
    background: white;
}

/* محتوای داخلی فرم */
.auth-form-inner {
    padding: 40px 20px;
    min-height: 100%;
}


.auth-image-side {
    flex: 1;
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    background: #1a2c3e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ==============================================
   سفارشی‌سازی اسکرول بار
   ============================================== */

.auth-form-side::-webkit-scrollbar {
    width: 6px;
}

.auth-form-side::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.auth-form-side::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.auth-form-side::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ==============================================
   محتوای سمت تصویر
   ============================================== */

.auth-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.auth-image-grid-top {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    max-width: 250px;
}

.auth-image-grid-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    max-width: 250px;
    transform: rotate(180deg);
}

.auth-image-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
}

.auth-image-logo img {
    margin-bottom: 1rem;
}

.auth-image-text {
    text-align: center;
    color: #9ca3af;
}

/* ==============================================
   تنظیمات ریسپانسیو برای موبایل
   ============================================== */

@media (max-width: 1024px) {
    .auth-page-container {
        flex-direction: column;
    }

    .auth-form-side {
        width: 100%;
        height: auto;
        overflow-y: visible;
    }

    .auth-image-side {
        display: none;
    }

    .auth-form-inner {
        padding: 30px 20px;
    }
}

@media (min-width: 1280px) {
    .auth-form-inner {
        padding: 60px 40px;
    }
}

/* ==============================================
   انیمیشن‌ها
   ============================================== */

.auth-form-side,
.auth-image-side {
    transition: all 0.3s ease;
}

/* ==============================================
   تنظیمات دکمه‌های تغییر تب (برای لاگین)
   ============================================== */

.auth-tab-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.auth-tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s;
    border-radius: 0.5rem;
    background-color: #3b82f6;
    cursor: pointer;
    border: none;
}

.auth-tab-button:hover {
    background-color: #2563eb;
}

.auth-footer-links {
    width: 100%;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.auth-footer-link {
    font-size: 0.75rem;
    color: #6b7280;
    text-decoration: none;
}

.auth-footer-link:hover {
    color: #3b82f6;
}

@media (min-width: 768px) {
    .auth-footer-link {
        font-size: 0.875rem;
        gap: 1.5rem;
    }
}