html,
html body.login {
  min-height: 100%;
  background:
    radial-gradient(65% 55% at 80% 10%, rgba(16, 185, 129, 0.14), transparent 70%),
    radial-gradient(50% 45% at 15% 15%, rgba(56, 189, 248, 0.08), transparent 70%),
    #070a0f !important;
  color: #f1f5f9 !important;
  font-family: "Inter", "Noto Sans Devanagari", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html body.login #login {
  width: min(440px, calc(100% - 28px));
  padding: 40px 0 56px;
}

html body.login .wp-login-logo,
html body.login #login h1,
html body.login h1 {
  margin: 0 0 22px;
  text-align: center;
}

html body.login .wp-login-logo a,
html body.login #login h1 a,
html body.login h1 a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 6px 12px;
  background-image: none !important;
  background: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  color: #f1f5f9 !important;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: none !important;
}

html body.login .wp-login-logo a::before,
html body.login #login h1 a::before,
html body.login h1 a::before {
  content: "" !important;
  display: inline-block !important;
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0;
  border-radius: 12px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

/* Sign In / Create Account Switcher */
.tm-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  margin-bottom: 12px;
  background: #0e131d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.tm-auth-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  color: #94a3b8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.tm-auth-tab:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.tm-auth-tab.is-active {
  background: #10b981;
  color: #032219;
}

.tm-auth-subtitle {
  margin: 0 0 18px !important;
  text-align: center;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Override Core WordPress White Notices & Forms */
html body.login .message,
html body.login .notice,
html body.login #login_error,
html body.login .success {
  background: #151c28 !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: 4px solid #10b981 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
}

html body.login #login_error {
  border-left-color: #f43f5e !important;
}

html body.login #login_error a,
html body.login .message a {
  color: #38bdf8 !important;
}

html body.login form,
html body.login #loginform,
html body.login #registerform,
html body.login #lostpasswordform,
html body.login #resetpassform {
  margin-top: 0 !important;
  padding: 26px 24px 28px !important;
  background: #0e131d !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72) !important;
}

html body.login label {
  display: block;
  margin-bottom: 6px;
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

html body.login form .input,
html body.login input[type="text"],
html body.login input[type="password"],
html body.login input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px !important;
  margin: 0 0 16px !important;
  background: #151c28 !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 10px !important;
  font-size: 0.96rem !important;
  box-shadow: none !important;
}

html body.login input::placeholder {
  color: #64748b !important;
}

html body.login form .input:focus,
html body.login input[type="text"]:focus,
html body.login input[type="password"]:focus,
html body.login input[type="email"]:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.28) !important;
}

html body.login input:-webkit-autofill,
html body.login input:-webkit-autofill:hover,
html body.login input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #151c28 inset !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  caret-color: #f1f5f9;
}

html body.login .user-pass-wrap {
  margin-bottom: 6px;
}

html body.login .wp-pwd .button.wp-hide-pw {
  top: 3px;
  right: 4px;
  color: #94a3b8 !important;
  background: transparent !important;
  border: 0 !important;
}

html body.login .wp-pwd .button.wp-hide-pw:hover {
  color: #10b981 !important;
}

.tm-pw-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.tm-pw-input-group input.input {
  margin-bottom: 0 !important;
  flex: 1;
}

.tm-pw-toggle {
  min-height: 46px !important;
  padding: 0 14px !important;
  background: #151c28 !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  flex-shrink: 0;
}

.tm-pw-toggle:hover {
  color: #f1f5f9 !important;
  border-color: #10b981 !important;
}

/* Consent Checkbox */
html body.login .tm-auth-terms {
  margin: 4px 0 18px !important;
  padding: 12px 14px;
  background: #151c28;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

html body.login .tm-auth-terms label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  color: #cbd5e1 !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
  cursor: pointer;
}

html body.login .tm-auth-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 !important;
  flex-shrink: 0;
  accent-color: #10b981;
}

html body.login .tm-auth-terms a {
  color: #38bdf8 !important;
  text-decoration: underline;
}

html body.login form .forgetmenot {
  float: none !important;
  margin: 0 0 18px !important;
}

html body.login form .forgetmenot label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500 !important;
}

html body.login form .forgetmenot input[type="checkbox"] {
  accent-color: #10b981;
}

html body.login #reg_passmail {
  display: none !important;
}

html body.login form .submit {
  float: none !important;
  margin: 0 !important;
}

html body.login.wp-core-ui .button-primary,
html body.login input[type="submit"].button-primary {
  float: none !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  background: #10b981 !important;
  border: 0 !important;
  color: #032219 !important;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  text-shadow: none !important;
  box-shadow: 0 10px 26px -12px rgba(16, 185, 129, 0.5) !important;
  cursor: pointer;
}

html body.login.wp-core-ui .button-primary:hover,
html body.login.wp-core-ui .button-primary:focus {
  background: #34d399 !important;
  color: #032219 !important;
}

html body.login #nav,
html body.login #backtoblog,
html body.login .privacy-policy-page-link {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  color: #64748b !important;
}

html body.login #nav a,
html body.login #backtoblog a,
html body.login .privacy-policy-page-link a {
  color: #94a3b8 !important;
  text-decoration: none !important;
}

html body.login #nav a:hover,
html body.login #backtoblog a:hover,
html body.login .privacy-policy-page-link a:hover {
  color: #10b981 !important;
}

html body.login .language-switcher {
  display: none;
}

