* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f2d4a 0%, #1e3a5f 50%, #2d5a8e 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Background blobs */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: rgba(245, 158, 11, 0.12);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: rgba(45, 90, 142, 0.3);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.admin-login-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-login-header {
  background: rgba(15, 45, 74, 0.6);
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 28px 30px;
  border-bottom: 3px solid #f59e0b;
  letter-spacing: 0.5px;
}

.admin-login-header::before {
  content: '⚙ ';
  font-size: 20px;
}

.admin-login-form {
  padding: 30px 30px 20px;
}

.admin-login-form input[type="text"],
.admin-login-form input[type="password"],
.admin-login-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
  transition: all 0.3s ease;
}

.admin-login-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.admin-login-form input:focus {
  border-color: #f59e0b;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Autofill override */
.admin-login-form input:-webkit-autofill,
.admin-login-form input:-webkit-autofill:hover,
.admin-login-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(30, 58, 95, 0.7) inset !important;
  -webkit-text-fill-color: white !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.admin-login-form .g-recaptcha {
  margin: 5px 0 20px;
  display: flex;
  justify-content: center;
}

/* Dark wrapper around recaptcha to blend with glass */
.recaptcha-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.admin-login-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1e3a5f;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  text-align: center;
  display: block;
}

.admin-login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.admin-login-form button:active {
  transform: translateY(0);
}

.admin-login-footer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 16px 30px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .admin-login-container {
    border-radius: 15px;
  }

  .admin-login-form {
    padding: 25px 20px 15px;
  }

  .admin-login-header {
    padding: 22px 20px;
    font-size: 20px;
  }

  .admin-login-form .g-recaptcha {
    transform: scale(0.88);
  }
}