/* mokka Login – Figma dsNeZc8cyVHHMrTWKeEZNx, Frame 40:213 (1440 × 888) */
@font-face { font-family: "mokka DM Sans"; font-weight: 600; src: url("fonts/DMSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "mokka Darker Grotesque"; font-weight: 700; src: url("fonts/DarkerGrotesque-Bold.woff2") format("woff2"); }

body.login.mokka {
  --ink: #151515; --muted: #c9c9c9; --muted2: #c4c4c4; --line: #c9c9c9;
  min-height: 100vh; min-height: 100dvh; margin: 0; padding: 0; background: #fff;
  font-family: "mokka DM Sans", "DM Sans", system-ui, sans-serif; font-weight: 600; font-size: 14px; color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.login.mokka * { box-sizing: border-box; }

/* Linke Hälfte: Foto, weichgezeichnet */
.mokka-side { position: fixed; left: 0; top: 0; width: 50%; height: 100vh; height: 100dvh; overflow: hidden; background: #3a2a1c; }
.mokka-side-img { position: absolute; inset: calc(var(--mokka-blur, 28px) * -2); background: var(--mokka-bg) center / cover no-repeat;
  filter: blur(var(--mokka-blur, 28px)); }
.mokka-logo { position: fixed; left: 35px; top: 37px; z-index: 2; display: block; line-height: 0; }
.mokka-logo img { width: 122px; height: 24px; }
.mokka-back { position: fixed; right: 50px; top: 37px; z-index: 2; color: #000; text-decoration: none; font-size: 14px; line-height: normal; }
.mokka-back:hover, .mokka-back:focus-visible { text-decoration: underline; }

/* Rechte Hälfte: Formular mittig */
.login.mokka #login { box-sizing: border-box; width: 50%; min-height: 100vh; min-height: 100dvh; margin: 0 0 0 50%; padding: 40px 24px 35px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; }   /* unabhängig von Elementen, die Plugins an die Seite hängen */
.login.mokka #login > *:not(.mokka-head) { width: 361px; max-width: 100%; }
.login.mokka #login > h1 { display: none; }                          /* WordPress-Logo */
.login.mokka .mokka-head { width: 335px; max-width: 100%; margin: 0 auto 31px; text-align: center; }
.login.mokka .mokka-title { margin: 0; font-family: "mokka Darker Grotesque", "Darker Grotesque", sans-serif; font-weight: 700; font-size: 32px; line-height: 32px; color: var(--ink); }
.login.mokka .mokka-sub { margin: 11px 0 0; font-size: 14px; line-height: normal; color: var(--muted); }

.login.mokka form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
.login.mokka #login form p, .login.mokka #login .user-pass-wrap { margin: 0 0 9px; }
.login.mokka label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* nur für Screenreader */
.login.mokka form .input, .login.mokka input[type="text"], .login.mokka input[type="password"], .login.mokka input[type="email"] {
  width: 100%; height: 36px; margin: 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: none;
  font-family: inherit; font-weight: 600; font-size: 12px; line-height: 34px; color: var(--ink); min-height: 0; }
.login.mokka form .input::placeholder, .login.mokka input::placeholder { color: var(--muted); opacity: 1; }
.login.mokka form .input:focus, .login.mokka input:focus { border-color: var(--ink); outline: none; box-shadow: none; }
.login.mokka .wp-pwd { position: relative; }
.login.mokka .wp-pwd .input { padding-right: 44px; }
.login.mokka .button.wp-hide-pw { position: absolute; right: 4px; top: 2px; height: 32px; width: 36px; min-height: 0; border: 0; background: none; color: var(--muted); box-shadow: none; }
.login.mokka .button.wp-hide-pw:hover, .login.mokka .button.wp-hide-pw:focus { color: var(--ink); box-shadow: none; }
.login.mokka .button.wp-hide-pw .dashicons { top: 0; width: 18px; height: 18px; font-size: 18px; }
.login.mokka .forgetmenot { display: none; }                          /* "Angemeldet bleiben" – im Design nicht vorgesehen */
.login.mokka #login form p.submit { margin: 20px 0 0; }
.login.mokka .button-primary, .login.mokka #wp-submit {
  float: none; display: block; width: 100%; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 5px;
  background: #000; color: #fff; text-shadow: none; box-shadow: none; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 36px; cursor: pointer;
  transition: background-color .2s; }
.login.mokka .button-primary:hover, .login.mokka .button-primary:focus { background: #333; color: #fff; box-shadow: none; }
.login.mokka .button-primary:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* Links unter dem Formular */
.login.mokka #nav, .login.mokka #backtoblog { margin: 27px 0 0; padding: 0; text-align: center; font-size: 14px; }
.login.mokka #backtoblog { display: none; }                          /* steht oben rechts */
.login.mokka #nav a, .login.mokka .mokka-foot a { color: var(--muted); text-decoration: underline; text-underline-position: from-font; }
.login.mokka #nav a:hover, .login.mokka .mokka-foot a:hover { color: var(--ink); }
.login.mokka #nav .wp-login-register { display: none; }
.login.mokka .privacy-policy-page-link { display: none; }

/* Hinweise und Fehler */
.login.mokka #login_error, .login.mokka .message, .login.mokka .notice, .login.mokka .success {
  margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-left: 3px solid #000; border-radius: 5px; background: #fff; box-shadow: none;
  font-size: 12px; line-height: 1.5; color: var(--ink); }
.login.mokka #login_error { border-left-color: #d63638; }
.login.mokka #login_error a, .login.mokka .message a { color: var(--ink); }
.login.mokka .indicator-hint, .login.mokka .description { font-size: 12px; color: var(--muted); }
.login.mokka #pass-strength-result { margin: 8px 0 0; border-radius: 5px; font-size: 12px; }
.login.mokka .reset-pass-submit { display: flex; gap: 8px; }
.login.mokka .reset-pass-submit .button { flex: 1; height: 36px; border-radius: 5px; }

/* Fußzeile rechts unten */
.mokka-foot { position: fixed; right: 50px; bottom: 35px; display: flex; gap: 32px; font-size: 14px; }
.mokka-foot a { color: var(--muted2) !important; }

/* Schmal: Bild wird zum Streifen oben, Formular darunter */
@media (max-width: 900px) {
  .mokka-side { position: relative; width: 100%; height: 180px; }
  .mokka-logo { position: absolute; left: 24px; top: 24px; }
  .mokka-back { position: absolute; right: 24px; top: 204px; font-size: 13px; }
  .login.mokka #login { width: 100%; min-height: 0; margin: 0; padding: 90px 24px 110px; }
  .mokka-foot { position: static; justify-content: center; padding: 0 24px 32px; }
}
