/* Login page (anmelden.html): builds on access-request.css, adds the parts of sign in, "forgot password"
   and the one-time link to choose a password. */
.login-page .nav-request{margin-left:auto}
.login-card .login-view{padding:30px 46px 34px;background:linear-gradient(180deg,#fff 0%,#f8fbfd 100%)}
.login-card form.login-view{padding:30px 46px 34px}

.input-wrap.has-toggle input{padding-right:54px}
.reveal{position:absolute;z-index:2;top:50%;right:8px;width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;color:#7e94aa;background:transparent;cursor:pointer;transform:translateY(-50%)}
.reveal:hover,.reveal[aria-pressed="true"]{color:var(--blue);background:#e3eef6}
.reveal:focus-visible{outline:3px solid rgba(7,91,167,.35);outline-offset:1px}
.input-wrap .reveal svg{position:static;width:20px;height:20px;transform:none;stroke:currentColor}

.login-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}
.remember{display:flex!important;align-items:center;gap:9px;margin:0!important;color:#284967!important;font-size:13px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer}
.remember input{width:18px;height:18px;margin:0;accent-color:var(--blue);cursor:pointer}
.remember-hint{margin:7px 0 0 27px;color:#7a8b9d;font-size:11px;line-height:1.45}
.text-link{display:inline-flex;align-items:center;gap:6px;padding:4px 0;border:0;color:var(--blue);background:none;font-size:13px;font-weight:900;cursor:pointer;text-decoration:none}
.text-link:hover{text-decoration:underline;text-underline-offset:3px}
.text-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.login-foot{margin:20px 0 0;color:#667a8e;font-size:13px;text-align:center}
.login-foot a{color:var(--blue);font-weight:900;text-decoration:none}
.login-foot a:hover{text-decoration:underline;text-underline-offset:3px}

.view-intro{margin:0 0 20px;color:#4f6680;font-size:14px;line-height:1.6}
.login-notice{margin:0 0 18px;padding:12px 13px;border:1px solid #bfe3cf;border-radius:11px;color:#17613f;background:#effaf4;font-size:13px;line-height:1.45}
.login-notice.warn{border-color:#f2d59b;color:#7a4b00;background:#fff8e8}

a.submit-button{text-decoration:none}
.submit-button.secondary{margin-top:12px;color:var(--blue);background:#fff;border:1px solid #bed2e2;box-shadow:none}
.submit-button.secondary:hover{box-shadow:0 8px 18px rgba(7,91,167,.12)}
.submit-button:disabled{opacity:.65;cursor:progress;transform:none}

.login-done{display:flex;min-height:380px;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.login-done p{max-width:400px;margin:0 auto 14px;color:#4f6680;font-size:14px;line-height:1.6}
.login-done p.muted{color:#7a8b9d;font-size:12px}
.login-done .submit-button{max-width:340px}
.login-done strong{color:var(--ink)}
.success-icon.warn{background:linear-gradient(145deg,#f0a92b,#d48806);box-shadow:0 16px 30px rgba(212,136,6,.22)}

.setup-user{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 20px;padding:13px 15px;border:1px solid #d6e4ef;border-radius:12px;background:#f2f7fa}
.setup-user span{color:#687c93;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.setup-user strong{color:var(--blue);font:800 17px/1.2 Consolas,"Cascadia Mono",monospace;word-break:break-all}
.strength{height:6px;margin-top:10px;overflow:hidden;border-radius:4px;background:#e2ebf2}
.strength span{display:block;width:0;height:100%;border-radius:4px;background:#d64545;transition:width .2s ease,background .2s ease}
.strength-label{margin:7px 0 16px;color:#7a8b9d;font-size:11px;line-height:1.45}

/* Single column: the sign-in card first, the explanation below it. */
@media(max-width:1050px){
  .login-page .login-card{order:-1;justify-self:center}
}

@media(max-width:680px){
  .login-card .login-view,.login-card form.login-view{padding:25px 22px 29px}
  .login-row{flex-wrap:wrap}
  .login-done{min-height:320px}
}
