.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    width: 100%;
    direction: rtl;
}

/* تغییر به تم روشن مدرن */
.auth-box {
    background: #ffffff;
    color: #1f2937; /* رنگ متن تیره برای خوانایی بهتر */
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 148, 255, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04); /* سایه نرم ترکیب شده با رنگ اصلی شما */
    width: 100%;
    max-width: 420px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.auth-box.hidden {
    display: none !important;
}

.auth-box h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    color: #111827;
}

.auth-subtitle {
    color: #6b7280;
    text-align: center;
    font-size: 0.88rem;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 500;
}

/* استایل فیلدهای ورودی در تم روشن */
.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #1f2937;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

/* فوکوس روی فیلدها با رنگ اصلی شما */
.input-group input:focus {
    outline: none;
    border-color: #0094FF;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 148, 255, 0.15);
}

.auth-meta {
    display: flex;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #4b5563;
}

/* اعمال رنگ اصلی شما روی دکمه */
.auth-btn {
    width: 100%;
    padding: 0.8rem;
    background: #0094FF; /* رنگ اصلی */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

/* اعمال رنگ دوم شما در حالت Hover */
.auth-btn:hover {
    background: #4AB3FF; /* رنگ دوم */
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* لینک سوییچ با رنگ اصلی شما */
.auth-switch a {
    color: #0094FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-switch a:hover {
    color: #4AB3FF;
}

/* استایل پیام‌ها متناسب با تم روشن */
.auth-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    display: none;
    line-height: 1.6;
}

.auth-message.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.auth-message.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}