body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
  font-family: 'Cairo', sans-serif;
}

/* Animated Mesh Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: move 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0d0d0d 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #262626 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes move {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(100px, 50px) scale(1.1); }
}

/* Login Card */
.login-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  text-align: center;
  color: #fff;
}

.login-logo {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.login-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Inputs */
.form-control {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  height: 50px !important;
  color: #fff !important;
  padding: 0 20px !important;
  margin-bottom: 20px !important;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #007AFF !important;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.25) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Button */
.btn-login {
  background: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  height: 52px !important;
  width: 100% !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  margin-top: 10px !important;
}

.btn-login:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 122, 255, 0.5) !important;
}

.btn-login:active {
  transform: scale(0.97);
}

/* Error Alert */
.alert-error {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 16px;
  padding: 12px;
  color: #FF3B30;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* RTL Specific */
[dir="rtl"] .form-control {
  text-align: right;
}
