/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb); /* تدرج موحد في الخلفية */
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.login-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  background: inherit; /* ضمان أن الخلفية موحدة لكل الصفحة */
}

/* Left side */
.left-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.left-side img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Right side */
.right-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Form container */
.form-container {
  width: 100%;
  max-width: 400px;
  background-color: #ffffffcc; /* لون خلفية النموذج */
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo-container img {
  width: 100px;
}

.form-container input[type="email"],
.form-container input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.form-container button {
  width: 100%;
  padding: 0.75rem;
  background-color: #0099e5;
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1rem;
  cursor: pointer;
}

.form-container a {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #0077cc;
  text-decoration: none;
  font-size: 0.9rem;
}

.form-container a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
  }
  .left-side, .right-side {
    flex: none;
    width: 100%;
  }
  .left-side img {
    max-width: 90%;
  }
}
