/* تنظیمات کلی برای بخش banner */
.login-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

/* ویدیوی بک‌گراند */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* لایه نیمه شفاف روی ویدیو برای خوانایی بهتر متن */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* استایل فرم (همان استایل قبلی با کمی تغییر) */
.login-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 28px 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(0px);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
    font-size: 14px;
}

input, select {
    width: 100%;
    padding: 6px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

/* استایل برای خطاها */
        .error-field {
            border-color: #e74c3c !important;
            background-color: #fff5f5 !important;
        }
        
        .error-message-field {
            color: #e74c3c;
            font-size: 12px;
            margin-top: 5px;
            display: block;
            text-align: right;
        }
        
        .success-field {
            border-color: #27ae60 !important;
            background-color: #f0fff4 !important;
        }
        /* استایل برای فیلد غیرفعال */
        select:disabled {
            background-color: #f0f0f0;
            cursor: not-allowed;
            opacity: 0.6;
        }

/* تنظیمات واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
        margin: 20px;
    }
    
    h2 {
        font-size: 24px;
    }
}