/* ===== AUTH PAGE ===== */
.auth-body { overflow-x: hidden; }
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left poster */
.auth-poster {
  background: linear-gradient(135deg, var(--ink) 0%, var(--plum) 50%, var(--sunset) 110%);
  color: var(--paper);
  padding: 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ap-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 48px;
  height: 100%;
}

.auth-poster .v-logo { font-size: 1.4rem; }
.auth-poster .v-logo-mark { background: var(--paper); color: var(--ink); }

.ap-quote { max-width: 460px; margin-top: 20px; }
.ap-quote .eyebrow::before { background: var(--mango); }
.ap-quote h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 10px;
}
.ap-quote em {
  color: var(--mango);
  font-style: italic;
  font-weight: 400;
}

/* Floating mini cards */
.ap-cards {
  position: relative;
  height: 280px;
}
.ap-card {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--paper);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.ap-card-1 {
  top: 0; left: 10px;
  width: 290px;
  transform: rotate(-3deg);
}
.ap-card-1 .ap-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ap-card-1 .av { width: 28px; height: 28px; border: 2px solid var(--ink); }
.ap-card-1 p { margin: 0; font-size: .9rem; }
.ap-card-1 .chip { background: var(--sunset); color: #fff; border: none; font-size:.7rem; padding: 3px 9px; }

.ap-card-2 {
  top: 100px; right: 30px;
  width: 220px;
  transform: rotate(4deg);
  background: var(--mango);
  color: var(--ink);
  border: none;
}
.ap-card-2 small { font-size:.7rem; font-family:'JetBrains Mono', monospace; text-transform: uppercase; opacity: .7; }
.ap-card-2 strong { display: block; font-family:'Fraunces', serif; font-size:1.4rem; font-weight: 600; margin: 4px 0; line-height: 1.1; }
.ap-sparkle {
  display: inline-block;
  background: rgba(20,18,44,.1);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
}

.ap-card-3 {
  bottom: 0; left: 80px;
  width: 280px;
  transform: rotate(-2deg);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
}
.ap-card-3 img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.ap-card-3 strong { display: block; font-family:'Fraunces', serif; font-size: 1rem; font-weight: 600; }
.ap-card-3 small { color: rgba(250,247,242,.7); font-size:.78rem; }

.ap-stats {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.ap-stats strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
}
.ap-stats span { font-size:.78rem; color: rgba(250,247,242,.7); }

/* Floating bits */
.float-bit {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}
.fb-1 { width: 260px; height: 260px; background: var(--mango); opacity: .35; top: -60px; right: -60px; }
.fb-2 { width: 200px; height: 200px; background: var(--turquoise); opacity: .3; bottom: 20%; right: 30%; }
.fb-3 { width: 180px; height: 180px; background: var(--rose); opacity: .3; bottom: -40px; left: -40px; }

/* Right form */
.auth-form {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  position: relative;
}
.auth-back {
  position: absolute;
  top: 32px;
  left: 56px;
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}
.auth-back:hover { color: var(--sunset); }

.auth-card {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.auth-tabs {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}
.at {
  background: transparent; border: none;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s ease;
}
.at.active { background: var(--ink); color: var(--paper); }

.auth-panel { display: none; }
.auth-panel.active { display: block; animation: fadeUp .4s ease both; }

.auth-panel .display-md {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.01em;
}
.auth-panel em { color: var(--sunset); font-style: italic; font-weight: 400; }
.auth-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 8px 0 28px;
}

.auth-socials { display: flex; gap: 10px; }
.sbtn {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
}
.sbtn:hover { background: var(--surface-alt); border-color: var(--border-strong); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-fields label {
  position: relative;
  display: block;
  margin-bottom: 16px;
}
.auth-fields label > span {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.auth-fields input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: all .2s ease;
}
.auth-fields input:focus {
  outline: none;
  border-color: var(--sunset);
  box-shadow: 0 0 0 3px rgba(255,94,98,.12);
}
.eye {
  position: absolute; right: 14px; bottom: 12px;
  background: transparent; border: none; color: var(--text-muted);
  cursor: pointer;
}

.auth-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  font-size: .88rem;
}
.checkrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 16px;
}
.checkrow input { accent-color: var(--sunset); width: 16px; height: 16px; }
.checkrow span { font-weight: 500; }

.auth-link { color: var(--sunset); font-weight: 600; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }

.auth-foot {
  text-align: center;
  margin-top: 22px;
  font-size: .9rem;
  color: var(--text-muted);
}
.auth-foot a { color: var(--sunset); font-weight: 700; text-decoration: none; cursor: pointer; }

.auth-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  font-size: .78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.auth-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Responsive */
@media (max-width: 992px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-poster { display: none; }
  .auth-back { position: static; margin-bottom: 20px; }
  .auth-form { padding: 32px 24px; min-height: 100vh; }
}
@media (max-width: 480px) {
  .auth-panel .display-md { font-size: 2rem; }
  .auth-socials { flex-direction: column; }
  .auth-trust { gap: 14px; font-size: .72rem; }
}
