:root{
  --bg: #fff6f9;
  --card: rgba(255,255,255,0.9);
  --stroke: rgba(255, 183, 197, 0.45);
  --text: #2b2b2b;
  --muted: rgba(43,43,43,0.65);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(255, 122, 162, 0.18), transparent 60%),
    radial-gradient(700px 520px at 85% 0%, rgba(255, 183, 197, 0.25), transparent 55%),
    radial-gradient(720px 520px at 70% 95%, rgba(255, 209, 220, 0.28), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

.container{ width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.topbar{
  position: sticky;
  top:0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 246, 249, 0.65);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  text-decoration:none;
  font-family: "Comfortaa", sans-serif;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
}

.nav{ display:flex; gap:10px; }

.page{ min-height: 100vh; display:flex; flex-direction: column; }
.page__main{ flex:1; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 170, 210, 0.55);
  background: rgba(255,255,255,0.6);
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
  font-weight:600;
}

.btn--primary{
  background: #ff9fc2;
  border-color: rgba(255, 140, 190, 0.65);
}

.btn--ghost{ background: rgba(255,255,255,0.7); }

.field{ display:grid; gap:6px; }
.field__label{ font-size: 14px; color: var(--muted); }
.field__input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(160, 140, 155, 0.35);
  background: #fff;
}

.auth{ display:flex; justify-content:center; padding: 24px 0; }
.auth__card{
  width: min(520px, 100%);
  padding: 28px;
  background: var(--card);
  border: 1px solid rgba(255, 170, 210, 0.45);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.auth__title{ margin: 0 0 8px; font-size: 28px; }
.auth__hint{ margin: 0 0 16px; color: #5a4c57; }
.auth__status{ min-height: 24px; margin-bottom: 12px; color: #1c4b2b; }
.auth__status--error{ color: #8f233a; }
.auth__btn{ width: 100%; margin-bottom: 12px; }

.auth__divider{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: #887684;
}

.auth__divider::before,
.auth__divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(160, 140, 155, 0.35);
}

.auth__form{ display: grid; gap: 12px; }

.auth__toggle{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #5a4c57;
}

.auth__toggle input{
  width: 16px;
  height: 16px;
  accent-color: #f08db3;
}

.auth__note{
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 224, 238, 0.65);
  color: #5a3a49;
  margin-bottom: 12px;
}

.footer{
  padding: 20px 0;
  color: #7c6c78;
}

.footer__inner{
  display: flex;
  justify-content: center;
}

.nav__form{ display:inline-block; margin:0; }
