/* ============================================
   GolfStat.dk — signup.css
   Signup page specific styles
   ============================================ */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ── Outer card ── */
.page {
  background: var(--gs-surface);
  width: 100%;
  max-width: 860px;
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid var(--gs-border);
  min-height: 620px;
}

/* ── Left panel ── */
.left-panel {
  flex: 1;
  background: var(--gs-surface-alt);
  border-right: 0.5px solid var(--gs-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  gap: 32px;
}

.golf-illustration {
  width: 160px;
  height: 160px;
}

.brand-block {
  text-align: center;
}

.brand-tagline {
  font-size: 13px;
  color: var(--gs-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 220px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 220px;
}

.feat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gs-green-mid);
  flex-shrink: 0;
}

.feat-text {
  font-size: 12px;
  color: var(--gs-muted);
}

/* ── Right panel ── */
.right-panel {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
}

.form-logo {
  display: none;
  text-align: center;
  margin-bottom: 24px;
}

.form-logo .brand-name {
  font-size: 24px;
}

.form-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--gs-text);
  margin-bottom: 6px;
  width: 100%;
}

.form-sub {
  font-size: 13px;
  color: var(--gs-muted);
  margin-bottom: 24px;
  width: 100%;
}

/* ── Side by side fields (password + confirm) ── */
.field-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
}

.field-row .field {
  margin-bottom: 0;
}

/* ── Field hint text ── */
.field-hint {
  font-size: 11px;
  color: var(--gs-muted);
  margin-top: 4px;
}

/* ── Optional label modifier ── */
.field-optional {
  color: var(--gs-border-mid);
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.btn-primary {
  margin-top: 8px;
  margin-bottom: 20px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  body {
    padding: 0;
    align-items: stretch;
  }

  .page {
    border-radius: 0;
    border: none;
    min-height: 100vh;
  }

  .left-panel {
    display: none;
  }

  .right-panel {
    width: 100%;
    padding: 40px 28px;
    justify-content: center;
  }

  .form-logo {
    display: block;
  }

  /* Stack password fields on small screens */
  .field-row {
    flex-direction: column;
    gap: 12px;
  }
}
