/**
 * WordPress-Anmeldeseite – Noble Atlas CI (optisch verfeinert)
 *
 * Noble Atlas CI:
 * - Primary Gold: #dbc16d
 * - Emerald Dark: #01221c
 * - White Gold: #ecd292
 * - Ivory: #f8f5f0
 * - Moss Green: #1c3c2c
 * - Headings: 'Playfair Display', serif
 * - Body: 'Lato', sans-serif
 */

body.login {
  font-family: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #01221c;
  background-image: linear-gradient(165deg, #01221c 0%, #0a2e26 40%, #1c3c2c 100%);
  background-attachment: fixed;
  color: #01221c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

body.login::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(219, 193, 109, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

#login {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 48px 44px 40px;
  background: #faf8f5;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(219, 193, 109, 0.15),
    0 24px 48px rgba(1, 34, 28, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.15);
}

#login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #dbc16d, transparent);
  border-radius: 20px 20px 0 0;
}

/* Logo / Titel */
#login h1 {
  margin-bottom: 32px;
}

body.login #login h1 a,
#login h1 a {
  height: auto !important;
  width: 100% !important;
  max-width: none !important;
  background: none !important;
  background-image: none !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: #01221c !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  display: block !important;
  text-align: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#login h1 a:hover {
  color: #1c3c2c !important;
}

#login h1 a img,
#login h1 a svg,
body.login #login h1 a img,
body.login #login h1 a svg {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

#login h1 a::before,
#login h1 a::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

/* Formular */
#login form {
  margin-top: 0;
}

#login form .forgetmenot label,
#login form label {
  color: #1c3c2c;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

#login form .input,
#login form input[type="text"],
#login form input[type="password"],
#login form input[type="email"] {
  background: #fff;
  border: 1px solid rgba(1, 34, 28, 0.12);
  border-radius: 10px;
  color: #01221c;
  font-size: 16px;
  padding: 14px 16px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#login form .input:focus,
#login form input[type="text"]:focus,
#login form input[type="password"]:focus {
  border-color: #dbc16d;
  box-shadow: 0 0 0 3px rgba(219, 193, 109, 0.2);
  outline: none;
}

/* Checkbox Angemeldet bleiben */
#login form .forgetmenot input[type="checkbox"] {
  accent-color: #dbc16d;
}

/* Anmelden-Button – klarer Goldton, weniger Metall */
#login form .submit .button,
#login .button-primary {
  background: #dbc16d !important;
  border: none !important;
  border-radius: 10px !important;
  color: #01221c !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  height: auto !important;
  line-height: 1.3 !important;
  text-shadow: none !important;
  box-shadow: 0 2px 12px rgba(219, 193, 109, 0.35) !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}

#login form .submit .button:hover,
#login .button-primary:hover {
  background: #ecd292 !important;
  color: #01221c !important;
  box-shadow: 0 4px 16px rgba(219, 193, 109, 0.4) !important;
}

/* Links */
#login #nav,
#login #backtoblog {
  margin-top: 20px;
}

#login #nav a,
#login #backtoblog a {
  color: #b8984a !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

#login #nav a:hover,
#login #backtoblog a:hover {
  color: #dbc16d !important;
  text-decoration: none;
}

#login #nav a::after {
  content: none !important;
}

/* Sprachauswahl auf Login ausblenden */
body.login .language-switcher {
  display: none !important;
}

/* Meldungen */
#login .message,
#login .success {
  border-left: 4px solid #dbc16d;
  background: rgba(219, 193, 109, 0.08);
  color: #01221c;
  border-radius: 0 8px 8px 0;
}

#login .login-error {
  border-left-color: #c9a94d;
}

#login .privacy-policy-page-link {
  color: rgba(1, 34, 28, 0.6);
  font-size: 13px;
}

body.login a[href*="wordpress.org"],
body.login a[href*="WordPress"] {
  display: none !important;
}
