/* fas1.css — Registrering (mörkt tema) */

.fas-1 {
  background: #170D07;
  color: #fff;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--page-pad);
  /* Ingen bottom-nav i fas 1 — ingen padding-bottom-kompensation */
  padding-bottom: var(--space-5);
}

.fas1-inner {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.fas1-logo {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto var(--space-5);
}

.fas1-tagline {
  font-size: var(--text-lg);
  color: #F3D9A8;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* ─── Registrerad, väntar på inbjudan ────────────────────────────────── */
.fas1-registered-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-xl);
  color: #F6C978;
  margin-bottom: var(--space-3);
}

.fas1-registered-sub {
  font-size: var(--text-base);
  color: #F3D9A8;
  margin-bottom: var(--space-5);
}

.email-form {
  text-align: left;
}

.email-confirmed {
  margin-top: var(--space-3);
  color: #F3D9A8;
  font-size: var(--text-sm);
}

.email-confirmed p {
  margin-bottom: var(--space-2);
}

.fas-1 .btn-ghost {
  color: #F6C978;
  border-color: #F6C978;
}

/* ─── Registreringsformulär ───────────────────────────────────────────── */
.reg-form {
  text-align: left;
}

.fas-1 .field label {
  color: #F6C978;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fas-1 .field input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(246, 201, 120, 0.35);
  color: #fff;
  height: 52px;
  font-size: 1rem;
}

.fas-1 .field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.fas-1 .field input:focus {
  outline: none;
  border-color: #F6C978;
  box-shadow: 0 0 0 2px rgba(246, 201, 120, 0.15);
  background: rgba(255, 255, 255, 0.1);
}

.fas-1 .field input[aria-invalid='true'] {
  border-color: #ff8a6e;
}

.fas-1 .field-error {
  color: #ff8a6e;
}

.fas-1 .api-error {
  background: rgba(216, 89, 46, 0.15);
  border-color: rgba(216, 89, 46, 0.5);
  color: #ff8a6e;
}

.fas-1 .btn-primary {
  background: #F6C978;
  color: #170D07;
  font-weight: 700;
  margin-top: var(--space-2);
  height: 52px;
  font-size: var(--text-base);
}

.fas-1 .btn-primary:hover {
  background: #F9D68F;
}

/* ─── Glöm mig ───────────────────────────────────────────────────────────── */
.fas1-forget-btn {
  margin-top: var(--space-3);
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  color: rgba(243, 217, 168, 0.4);
  font-size: var(--text-xs);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}

.fas1-forget-btn:hover {
  color: rgba(243, 217, 168, 0.7);
}

/* ─── Tips-panel ──────────────────────────────────────────────────────── */
.fas1-tip {
  margin-top: var(--space-6);
  border: 1px solid rgba(246, 201, 120, 0.25);
  border-radius: 12px;
  background: rgba(246, 201, 120, 0.06);
  overflow: hidden;
  text-align: left;
}

.fas1-tip-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-sm);
  color: #F6C978;
  font-weight: 600;
  letter-spacing: 0.02em;
  user-select: none;
  transition: background 0.15s;
}

.fas1-tip-trigger::-webkit-details-marker { display: none; }

.fas1-tip-trigger:hover {
  background: rgba(246, 201, 120, 0.08);
}

.fas1-tip-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #F6C978;
  transition: filter 0.2s;
}

.fas1-tip[open] .fas1-tip-icon {
  filter: drop-shadow(0 0 6px rgba(246, 201, 120, 0.7));
}

.fas1-tip[open] .fas1-tip-trigger {
  border-bottom: 1px solid rgba(246, 201, 120, 0.2);
}

.fas1-tip-content {
  padding: 16px;
  font-size: var(--text-sm);
  color: #F3D9A8;
  line-height: 1.6;
}

.fas1-tip-content > p {
  margin-bottom: var(--space-4);
}

.fas1-tip-os {
  margin-bottom: var(--space-4);
}

.fas1-tip-os:last-child {
  margin-bottom: 0;
}

.fas1-tip-os-title {
  font-weight: 600;
  color: #F6C978;
  margin-bottom: var(--space-2);
}

.fas1-tip-os ol {
  margin: 0;
  padding-left: 1.4em;
}

.fas1-tip-os ol li {
  margin-bottom: 4px;
}
