/* Inlog- en wachtwoordpagina's */
body.auth { display: grid; grid-template-columns: minmax(360px, 1.05fr) 1fr; min-height: 100vh; min-height: 100dvh; background: var(--bg); }
body.auth.solo { grid-template-columns: 1fr; }
.auth-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.auth-hero::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 380px at 80% 10%, hsl(24 100% 50% / .35), transparent 70%),
              radial-gradient(500px 300px at 0% 100%, hsl(40 100% 50% / .14), transparent 70%); }
.hero-stars span { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); background: var(--c);
  transform: rotate(var(--r)); opacity: .9; filter: drop-shadow(0 10px 18px hsl(0 0% 0% / .35));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: float 7s ease-in-out infinite; }
.hero-stars span:nth-child(2n) { animation-delay: -2.5s; animation-duration: 8.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-copy { position: relative; padding: 3rem 3rem 2.6rem; max-width: 560px; }
.hero-copy img { height: 58px; border-radius: 10px; box-shadow: 0 0 0 1px hsl(0 0% 100% / .15); }
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; margin: 1.2rem 0 .5rem; line-height: 1; }
.hero-copy p { color: hsl(30 60% 85%); font-size: 1.05rem; line-height: 1.55; margin: 0; }
.auth-hero .belt-stripe { position: relative; height: 6px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 1.2rem; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 2rem 1.8rem 1.7rem; animation: pop-in .3s ease-out; }
.auth-card[hidden] { display: none; }
.auth-card h2 { font-size: 1.75rem; margin: .35rem 0 .3rem; letter-spacing: -.03em; }
.auth-card > .muted { margin: 0 0 1.3rem; font-size: .92rem; }
.auth-card .btn-big { margin-top: .4rem; }
.auth-logo { display: none; height: 44px; border-radius: 8px; margin-bottom: 1rem; }
body.solo .auth-logo { display: block; }
.auth-error { background: hsl(0 80% 96%); color: var(--red); border: 1px solid hsl(0 70% 88%); border-radius: 12px; padding: .65rem .85rem;
  font-size: .88rem; font-weight: 600; margin-bottom: 1rem; }
.auth-error[hidden] { display: none; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 2.8rem !important; }
.pw-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: none; background: none; cursor: pointer;
  font-size: 1rem; padding: .4rem; opacity: .6; }
.pw-toggle:hover { opacity: 1; }
.forgot { display: block; margin: 1rem auto 0; }
.auth-foot { text-align: center; font-size: .84rem; color: var(--ink-soft); margin: 1.3rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.pw-meter { height: 5px; border-radius: 5px; background: var(--border); overflow: hidden; margin: -.5rem 0 1rem; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }

@media (max-width: 860px) {
  body.auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-hero { min-height: 190px; }
  .hero-copy { padding: 1.4rem 1.3rem 1.2rem; }
  .hero-copy img { display: none; }
  .hero-copy h1 { font-size: 2.1rem; margin: 0 0 .35rem; }
  .hero-copy p { font-size: .9rem; }
  .auth-main { align-items: flex-start; padding: 0 .9rem 2rem; margin-top: -1.2rem; position: relative; }
  .auth-card { padding: 1.5rem 1.25rem 1.3rem; border-radius: 20px; }
  body.solo .auth-main { margin-top: 0; padding-top: 1.5rem; }
}
