
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: #0f766e;
}

.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg, #115e59 0%, #0f766e 50%, #134e4a 100%);
}

.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}

.circle-1 {
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.4) 0%, rgba(13, 148, 136, 0) 70%);
}

.circle-2 {
  bottom: -15%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, rgba(15, 118, 110, 0) 70%);
}

.login-container {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 10;
}

.login-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(0, 0, 0, 0.05);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 60px -12px rgba(0, 0, 0, 0.3),
    0 0 45px rgba(0, 0, 0, 0.07);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-header .logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-card:hover .login-header .logo {
  transform: scale(1.05) rotate(4deg);
}

.login-header .logo i {
  font-size: 32px;
  color: white;
}

.login-header h3 {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.login-header p {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: block;
  font-size: 0.88rem;
}

.input-group {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.input-group:focus-within {
  border-color: #0d9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
  background: white;
}

.input-group-text {
  background: transparent !important;
  border: none !important;
  color: #94a3b8;
  padding: 0 16px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.input-group:focus-within .input-group-text {
  color: #0d9488;
}

.form-control {
  border: none !important;
  background: transparent !important;
  padding: 14px 12px;
  font-size: 0.95rem;
  color: #0f172a;
  width: 100%;
}

.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.form-control::placeholder {
  color: #94a3b8;
}

.btn-login {
  width: 100%;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
  cursor: pointer;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(13, 148, 136, 0.35);
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

.btn-login:active {
  transform: translateY(0);
}

.text-brand-primary {
  color: #0d9488 !important;
}

.btn-brand-primary {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
  color: white !important;
  border: none !important;
}

.btn-brand-primary:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
}