body.login {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(99,102,241,.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(6,182,212,.14), transparent 30%),
    linear-gradient(135deg, #0f172a, #1e293b);
  background-size: cover;
  position: relative;
}

body.login::before,
body.login::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: .38;
  z-index: 0;
  animation: avijitFloat 10s ease-in-out infinite;
}

body.login::before {
  top: -80px;
  left: -100px;
  background: var(--av-login-primary, #6366f1);
}

body.login::after {
  right: -100px;
  bottom: -120px;
  background: var(--av-login-accent, #06b6d4);
  animation-delay: -3s;
}

body.login div#login {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: calc(100% - 40px);
  padding: 28px 0 0;
}

.login h1 a {
  margin-bottom: 18px !important;
}

.login form {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 60px rgba(2,6,23,.34);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  padding: 28px;
}

.login label,
.login #backtoblog a,
.login #nav a,
.login .privacy-policy-page-link a {
  color: rgba(255,255,255,.88) !important;
}

.login input[type="text"],
.login input[type="password"] {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.94);
}

.wp-core-ui .button-primary {
  border: none !important;
  border-radius: 14px !important;
  background: linear-gradient(90deg, var(--av-login-primary, #6366f1), var(--av-login-secondary, #8b5cf6)) !important;
  box-shadow: 0 16px 30px rgba(99,102,241,.26) !important;
  min-height: 44px;
  padding: 0 18px !important;
}

.message, .notice, .success {
  border-radius: 16px;
  border-left: 4px solid var(--av-login-accent, #06b6d4) !important;
}

@keyframes avijitFloat {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(18px) translateX(8px); }
}

/* --- Login Enhancements (Hint & Popup) --- */
.avijit-login-hint {
  margin-top: 15px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.5px;
}

.avijit-login-info-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
}

.avijit-info-btn {
  background: linear-gradient(135deg, var(--av-login-accent, #06b6d4), var(--av-login-primary, #6366f1));
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
  font-weight: bold;
  font-family: serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avijit-info-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.avijit-info-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.avijit-info-popup.active {
  display: flex;
  opacity: 1;
}

.avijit-info-popup-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  padding: 35px;
  border-radius: 20px;
  max-width: 420px;
  width: 90%;
  position: relative;
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.6);
  font-size: 15px;
  line-height: 1.6;
}

.avijit-close-popup {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.avijit-close-popup:hover {
  color: #0f172a;
}