:root {
  --af-bg: #001119;
  --af-surface: #00202F;
  --af-border: rgba(255, 255, 255, 0.08);
  --af-text: #E8EEF2;
  --af-muted: #8BA0AD;
  --af-accent: #FF6900;
  --af-error: #E24B4A;
}

.af-wrap {
  background: var(--af-bg);
  min-height: 70vh;
  padding: 40px 20px 64px;
}
.af-card {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Step Indicator ─── */

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center;
  justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0; transition: all 0.3s;
}
.step-circle.active {
  background: var(--af-accent); color: #fff;
}
.step-circle.done {
  background: var(--af-accent); color: #fff;
}
.step-circle.pending {
  background: rgba(255, 255, 255, 0.1);
  color: var(--af-muted);
}
.step-label {
  font-size: 12px; font-weight: 600;
  margin-left: 8px; transition: all 0.3s;
}
.step-label.active { color: var(--af-accent); }
.step-label.done { color: var(--af-muted); }
.step-label.pending { color: rgba(255, 255, 255, 0.2); }
.step-line {
  flex: 1; height: 1px; margin: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}
.step-line.done { background: var(--af-accent); }

/* ─── Step Panels ─── */

.af-step { display: none; }
.af-step.active { display: block; }

.af-title {
  font-size: 22px; font-weight: 700;
  color: var(--af-text); margin-bottom: 6px;
  text-align: left;
}
.af-subtitle {
  font-size: 14px; color: var(--af-muted);
  margin-bottom: 28px; line-height: 1.6;
}

/* ─── Floating Label Inputs ─── */

.float-group {
  position: relative; margin-bottom: 20px;
}
.float-group input,
.float-group select {
  width: 100%; height: 52px;
  padding: 16px 14px 6px;
  background: var(--af-bg);
  border: 1.5px solid var(--af-border);
  border-radius: 10px;
  font-size: 14px; color: var(--af-text);
  outline: none; appearance: none;
  transition: border-color 0.2s;
}
.float-group input:focus,
.float-group select:focus {
  border-color: var(--af-accent);
}
.float-group label {
  position: absolute; left: 14px;
  top: 15%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--af-muted);
  pointer-events: none;
  transition: all 0.2s;
  background: var(--af-surface);
  padding: 5px 10px;
  border-radius: 5px;
}
.float-group input:focus + label,
.float-group input.filled + label,
.float-group select:focus + label,
.float-group select.filled + label {
  top: 0; transform: translateY(-50%) scale(0.82);
  color: var(--af-accent); font-weight: 600;
}

/* ─── Summary Card ─── */

.summary-card {
  background: var(--af-bg);
  border: 1px solid var(--af-border);
  border-radius: 12px; padding: 20px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 8px 0;
  border-bottom: 1px solid var(--af-border);
  font-size: 14px;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--af-muted); }
.summary-value { color: var(--af-text); font-weight: 500; }

/* ─── Checkbox Items ─── */

.check-item {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: 14px;
  cursor: pointer;
}
.check-item input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 1px;
  accent-color: var(--af-accent); flex-shrink: 0;
  cursor: pointer;
}
.check-item span {
  font-size: 13px; color: var(--af-muted);
  line-height: 1.6;
}
.check-item span a { color: var(--af-accent); }

/* ─── Buttons ─── */

.btn-primary {
  width: 100%; height: 48px;
  background: var(--af-accent); color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover { opacity: 0.88; }
.btn-back {
  background: transparent;
  color: var(--af-muted);
  border: 1px solid var(--af-border);
  border-radius: 10px;
  padding: 12px 20px; font-size: 14px;
  cursor: pointer; margin-bottom: 12px;
  width: 100%;
  transition: border-color 0.15s;
}
.btn-back:hover { border-color: var(--af-accent); }

/* ─── Responsive ─── */

/* ─── Alert ─── */

.af-alert {
  background: rgba(226,75,74,0.12);
  color: #E24B4A;
  border: 1px solid rgba(226,75,74,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

@media (max-width: 540px) {
  .af-card { padding: 24px 16px; }
  .af-title { font-size: 18px; }
}
