/* خلفية الصفحة */
body {
  background: linear-gradient(135deg, #2fbf71, #1c95b8);
  font-family: 'Tahoma', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  direction: rtl;
}

/* الحاوية الرئيسية */
.login-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 15px 30px;
  border-radius: 20px;
  width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* رأس النموذج */
.login-header {
  margin-bottom: 10px;
}

/* أيقونة المستخدم الدائرية */
.user-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 auto 10px auto;
  background-image: url('users.jpg'); /* مسار الصورة المحلي */
  background-size: cover; /* لملء الدائرة بالكامل */
  background-repeat: no-repeat;
  background-position: center;
}

.login-header h2 {
  color: #fff;
  margin: 0;
  font-size: 22px;
}

/* الحقول */
.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 5px 10px;
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 5px;
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.input-group input::placeholder {
  color: #eee;
}

/* الأيقونات */
.icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1);
}

.icon.user {
  background-image: url('https://cdn-icons-png.flaticon.com/512/847/847969.png');
}

.icon.lock {
  background-image: url('https://cdn-icons-png.flaticon.com/512/3064/3064197.png');
}

/* زر تسجيل الدخول */
.login-btn {
  width: 100%;
  padding: 10px;
  background: #0078b5;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 5px;
}

.login-btn:hover {
  background: #005f8a;
}
/* خيارات أسفل النموذج */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 17px;
  font-weight: 500;
  direction: rtl; /* لأن الصفحة بالعربية */
  width: 100%;
}

/* رابط نسيت كلمة السر */
.options .forgot-password a {
  color: #e41616; /* أحمر */
  text-decoration: none;
  transition: 0.3s;
}

/* رابط إنشاء حساب */
.options .register-link a {
  color: #007bff; /* أزرق */
  text-decoration: none;
  transition: 0.3s;
}

/* عند تمرير الماوس */
.options a:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

/* رسائل الخطأ */
.error {
  color: #ff4444;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px;
  border-radius: 5px;
}
/* تعديل حجم الحاوية لإنشاء الحساب */
.login-container.register {
  width: 400px; /* أكبر قليلاً من صفحة تسجيل الدخول */
  height: 635px;
  padding: 5px 10px;
}

/* تنسيق أزرار الراديو */
.radio-group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 10px 15px;
  margin-bottom: 15px;
  color: #fff;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: #0078b5; /* لون زر الراديو */
  width: 16px;
  height: 16px;
}
