* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-image: url("backrounde1.png"); /* الخلفية */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px; /* تأثير 3D */
}

/* الحاوية الرئيسية */
.login-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.login-container:hover {
  transform: rotateY(4deg) rotateX(4deg);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

/* حركة الدخول */
@keyframes fadeInUp {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* العنوان */
.login-container h1 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #4a0072;
  text-shadow: 1px 1px 1px #ddd;
}

/* الحقول */
.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-weight: bold;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: #aa3af4;
  box-shadow: 0 0 8px rgba(170, 58, 244, 0.3);
  outline: none;
}

/* الزر */
button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #aa3af4, #6b00b3);
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #b160f4, #7a00cc);
}

/* رسالة الخطأ */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

