
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
   
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('media/baclig2.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.50);
}

.form-container {
  position: relative;
  width: 350px;
  padding: 40px 30px 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.form-box {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.form-box.active {
  display: flex;
}

.form-box h2 {
  color: #fff;
  text-align: center;
}

.form-box input {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.form-box input::placeholder {
  color: #aaa;
}

.form-box button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #0056b3, #0a315a);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 1s linear;
}

.form-box button:hover {
  background: #0056b3;
}

.form-box p {
  color: #ccc;
  text-align: center;
  margin-top: 10px;
}

.form-box p span {
  color: #0056b3;
  cursor: pointer;
  text-decoration: underline;
}

/* Styling for alert box */
.alert-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* مخفي افتراضيًا */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.alert-box {
  background-color: #222; /* لون غامق فخم */
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 80%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

#alertMessage {
  font-size: 16px;
}


