@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

/* إعدادات عامة */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif;
    background: url('background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    direction: rtl;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.login-container {
    display: flex;
    justify-content: flex-start; /* جعل الفورم في الأعلى */
    align-items: center;
    flex-direction: column;
    padding-top: 10px; /* تقليل المسافة بين الشعار وبداية الصفحة */
}

.logo-container {
    margin-bottom: 15px;
}

.logo-container img {
    max-width: 200px; /* تكبير اللوجو قليلاً */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); /* إضافة ظل حول الشعار */
}

.login-box {
    background-color: rgba(255, 255, 255, 0.15); /* خلفية شفافة */
    border-radius: 20px; /* المزيد من الانحناءات */
    padding: 25px; /* تقليل حجم الفورم */
    width: 100%;
    max-width: 350px; /* حجم أصغر للفورم */
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* زيادة الظل */
    backdrop-filter: blur(8px); /* تحسين الخلفية لإضافة تأثير ضبابي أكبر */
    margin-bottom: 20px; /* إضافة مسافة بين الفورم والأزرار */
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-group label {
    color: #c0b596; /* اللون الذهبي الفاتح */
    font-size: 16px; /* تكبير حجم الخط */
    margin-right: 10px;
    width: 35%;
    text-align: right;
}

.form-group input {
    width: 65%;
    padding: 10px;
    border: none;
    border-radius: 10px; /* انحناءات أكثر */
    box-sizing: border-box;
    font-size: 16px; /* تكبير حجم النص داخل الحقول */
    background-color: rgba(255, 255, 255, 0.3); /* خلفية شفافة للحقل */
    color: #fff;
    transition: background-color 0.3s, box-shadow 0.3s; /* تأثير الانتقال */
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.5); /* إضافة لمعان داخلي */
}

.form-group input:hover, .form-group input:focus {
    background-color: rgba(255, 255, 255, 0.4); /* تأثير Hover و Focus */
    box-shadow: 0 0 8px #c0b596; /* إضافة لمعان عند التفاعل */
}

input::placeholder {
    color: #ddd;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* جعل العناصر تمتد بعرض النموذج */
}

.remember-me {
    color: #c0b596;
    font-size: 16px; /* تكبير حجم النص */
    display: flex;
    align-items: center;
    margin-right: 10px; /* مسافة بين "تذكرني" والزر */
}

.remember-me input {
    margin-left: 5px;
}

.login-btn {
    background-color: #c0b596; /* اللون الذهبي الفاتح */
    color: #000;
    padding: 8px 20px; /* تصغير حجم الزر */
    border: none;
    border-radius: 20px; /* انحناءات أكثر */
    font-size: 14px; /* تصغير حجم النص داخل الزر */
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s; /* تأثير التفاعل مع الزر */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* إضافة ظل للزر */
    margin-right: 40px; /* مسافة بين الزر والرابط */
}

.login-btn:hover {
    background-color: #8e866f; /* لون أغمق عند التمرير */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* تأثير الظل عند التمرير */
}

.forgot-password {
    color: #c0b596;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #8e866f;
}



/* تصميم الروابط الإضافية */
.extra-links {
    margin-top: 20px;
}

.extra-links .full-width {
    display: block;
    background-color: #c0b596; /* اللون الذهبي للأزرار */
    color: #000;
    padding: 8px 0; /* تقليل ارتفاع الزر */
    width: 100%; /* عرض الزر كامل */
    text-align: center;
    border-radius: 20px; /* انحناءات للزر */
    text-decoration: none;
    margin-bottom: 8px; /* مسافة بين الأزرار */
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.extra-links .half-container {
    display: flex;
    justify-content: space-between; /* وضع الزرين في نفس السطر */
    width: 100%; /* عرض الأزرار 100% من الحاوية */
    gap: 10px; /* مسافة بين الزرين لضمان عدم تلامسهما */
}

.extra-links .half-width {
    background-color: #c0b596; /* اللون الذهبي للأزرار */
    color: #000;
    padding: 8px 0; /* تقليل ارتفاع الأزرار */
    width: 100%; /* عرض الزرين مع تباعد */
    text-align: center;
    border-radius: 20px; /* انحناءات للأزرار */
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.extra-links a:hover {
    background-color: #8e866f;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* تأثير الظل عند التمرير */
}
.link {
    color: #c0b596;
    text-decoration: none;
    font-size: 16px;
    display: block;
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid #c0b596; /* نفس لون النص */
    margin: 10px 0;
}

.footer {
    text-align: center;
    color: #c0b596;
    font-size: 18px; /* تكبير حجم النص في الفوتر */
    padding: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}
