/* PartyGuard Auth-Seiten (Login, Passwort vergessen/zurücksetzen). Split-Layout nach dem Artistbase-Login. Benötigt pg-base.css. */

/* ── Layout ─────────────────────────────────────────── */
.pg-login {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── Markenfläche links ─────────────────────────────── */
.pg-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 14px;
  padding: 34px 36px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(80% 60% at 15% 112%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 62%),
    radial-gradient(50% 40% at 100% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(160deg, #1b1b1c, #0a0a0a 72%);
  color: #fff;
}
.pg-art::after {
  /* feines Riffelblech-Muster wie im Event-Banner */
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 22px),
                    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.pg-art > * { position: relative; z-index: 1; }

.pg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pg-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 3 / 5;
  padding: 22px 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.015));
  text-align: center;
  animation: pg-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pg-steps li:nth-child(2) { animation-delay: 0.06s; transform: translateY(-20px); }
.pg-steps li:nth-child(3) { animation-delay: 0.12s; }
.pg-steps li:nth-child(4) {
  animation-delay: 0.18s;
  transform: translateY(-20px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
}
.pg-step-no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10%;
}
.pg-steps svg {
  width: 44%;
  height: auto;
  margin: 0 auto;
  stroke: #fff;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pg-step-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(11.5px, 1vw, 14px);
  line-height: 1.2;
}
@keyframes pg-rise {
  from { opacity: 0; translate: 0 30px; }
}

.pg-claim {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pg-claim span { color: rgba(255, 255, 255, 0.5); }

/* ── Formularseite rechts ───────────────────────────── */
.pg-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px 24px;
}
.pg-mobile-head { display: none; }

.pg-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.pg-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pg-card h1 {
  margin: -8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.pg-sub {
  margin: -6px 0 4px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Tabs */
.pg-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.pg-tabs button {
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pg-tabs button:hover { color: var(--text); }
.pg-tabs button[aria-selected="true"] {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.pg-pane { display: none; flex-direction: column; gap: 16px; }
.pg-pane.is-active { display: flex; animation: pg-fade 0.25s ease both; }
@keyframes pg-fade { from { opacity: 0; translate: 0 6px; } }

/* Felder */
.pg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.pg-field > span:first-child { font-weight: 500; }
.pg-input-wrap { position: relative; }
.pg-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.pg-input:focus {
  border-color: var(--text);
  background: var(--surface);
}
.pg-input[aria-invalid="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.pg-input-wrap .pg-input { padding-right: 76px; }
.pg-reveal {
  position: absolute;
  top: 50%;
  right: 6px;
  translate: 0 -50%;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.pg-reveal:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.pg-field-error { color: #ff6b6b; font-size: 12.5px; }
.pg-hint { font-size: 12.5px; color: var(--text-muted); }

.pg-row-end { display: flex; justify-content: flex-end; margin-top: -6px; }



.pg-foot {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}
.pg-foot a { text-decoration: none; }
.pg-foot a:hover { color: var(--text); }

/* ── Mobil ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .pg-login { grid-template-columns: minmax(0, 1fr); }
  .pg-art { display: none; }
  .pg-main {
    justify-content: flex-start;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .pg-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(420px, 100%);
  }
  .pg-mobile-head .pg-wordmark { font-size: 22px; }
  .pg-card { padding: 24px 20px; box-shadow: none; }
  .pg-card h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-steps li, .pg-pane.is-active { animation: none; }
}
  

/* Einzelformular (Passwort vergessen / zurücksetzen) */
.pg-form:not(.pg-pane) { display: flex; flex-direction: column; gap: 16px; }
.pg-back { align-self: center; font-size: 13.5px; }
