/* الخط والخلفية العامة */
body {
  font-family: 'Tajawal', sans-serif;
  background: linear-gradient(135deg, #002b49, #00a0af);
  color: white;
  overflow: hidden;
}

/* حاوية زجاجية */
.glass-morphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

/* الفقاعات */
#floatingElements span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 12s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* حقل الإدخال */
input.form-control,
input[type="email"],
input[type="password"],
input[type="text"] {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.3s ease;
}

input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input.form-control:focus {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid #00a0af;
  box-shadow: 0 0 0 0.25rem rgba(0, 160, 175, 0.3);
  color: #fff;
}

/* زر الإدخال */
button.btn-primary {
  background: #00a0af;
  border: none;
  transition: background 0.3s ease;
}

button.btn-primary:hover {
  background: #008f9c;
}

/* روابط تفاعلية */
a {
  color: #00c0c8;
  transition: all 0.3s ease;
}

a:hover {
  color: #00e1eb;
  text-decoration: underline;
}

/* تأثير النمو */
.hover-grow {
  transition: all 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
  color: #00c0c8 !important;
}

/* خطأ أو نجاح */
.is-invalid {
  border-color: #dc3545 !important;
}

.is-valid {
  border-color: #28a745 !important;
}
