@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


* {
    font-family: 'Inter', sans-serif !important;
}

/* **تحسين لون الخلفية ليكون أغمق وأكثر ثراءً** */
body {
    background: linear-gradient(135deg, #10121d 0%, #1a1b26 50%, #10121d 100%);
    min-height: 100vh;
    padding: 20px 0;
}


.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}


.login-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}


.card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.2));
    border: none;
    padding: 2rem 2.5rem 1.5rem;
}


.card-header h3 {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
}

/* **تحسين وضوح التسمية (Label)** */
.form-label {
    color: rgba(255, 255, 255, 0.85); /* لون أكثر بياضاً لزيادة التباين */
    transition: color 0.3s ease;
}

.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}


.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* **تأثير التركيز (Focus) على الإدخال** */
.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #6366f1; /* لون موحد على الحدود */
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

/* **تنسيق أيقونة الإدخال (input-group-text) لتكون متناسقة مع اللون الأساسي** */
.input-group-text {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    color: #6366f1; /* استخدام لون الأكسنت (Accent Color) */
    border-radius: 12px 0 0 12px;
    transition: all 0.3s ease;
}

/* **تنسيق زر إظهار/إخفاء كلمة المرور (Toggle Button) ليكون متناسقاً** */
.toggle-password {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    color: #6366f1 !important; /* لون أيقونة الأكسنت */
    border-radius: 0 12px 12px 0 !important;
    transition: all 0.3s ease;
}

/* **تأثير التركيز (Focus) على أيقونات المجموعة** */
.input-group:focus-within .input-group-text {
    border-color: #6366f1 !important; /* لون الحدود الأساسي عند التركيز */
    color: #ffffff; /* لون الأيقونة أبيض عند التركيز */
}

.input-group:focus-within .toggle-password {
    border-color: #6366f1 !important;
    color: #ffffff !important;
}


.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}


.btn-primary:active {
    transform: translateY(0);
}


.form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

/* **تحسين لون حدود فاصل اللغة** */
.border-top {
    border-color: rgba(255, 255, 255, 0.15) !important;
}


.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}


@media (max-width: 576px) {
    .login-card {
        margin: 1rem;
        border-radius: 16px;
    }
}
