/* ═══════════════════════════════════════════════════════
   Fort Aegis — Appeal Center Styles  (AAA Professional)
   Imports shared.css for design tokens and base styles.
   ═══════════════════════════════════════════════════════ */

/* ── Extra tokens ── */
:root {
  --warn: #ffb060;
  --warn-glow: rgba(255, 176, 96, 0.15);
  --surface-deep: rgba(4, 8, 18, 0.92);
  --form-bg: rgba(6, 12, 26, 0.85);
}

/* ── Pure-CSS safety reveal ──
   Guarantees the page becomes visible even if ALL JavaScript fails.
   JS sets body.loaded which cancels the animation instantly. */
@keyframes reveal-body      { to { opacity: 1;          } }
@keyframes reveal-container  { to { visibility: visible;  } }

/* ── Page Layout ── */
body {
  padding: clamp(1.2rem, 3vw, 3rem) 1rem 3.5rem;
  /* CSS fallback: reveal after 2.5s even without JS */
  animation: reveal-body 0.4s ease 2.5s both;
}

body.loaded {
  animation: none;
  opacity: 1;
}

body.loaded .container {
  visibility: visible;
  animation: none;
}

.container {
  width: min(100%, 780px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  /* Hidden until JS or CSS-fallback reveals */
  visibility: hidden;
  animation: reveal-container 0s linear 2.8s both;
}

/* ═══════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════ */
.page-header {
  text-align: center;
  margin-bottom: 0;
}

/* Logo with orbit rings */
.logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
}

.logo {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter:
    drop-shadow(0 0 24px rgba(110, 159, 255, 0.5))
    drop-shadow(0 0 60px rgba(110, 159, 255, 0.18));
}

.logo-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(110, 159, 255, 0.18);
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}

.logo-ring::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent), 0 0 20px var(--accent-glow);
}

.logo-ring--reverse {
  inset: 8px;
  border-color: rgba(110, 159, 255, 0.1);
  animation-direction: reverse;
  animation-duration: 24s;
}

.logo-ring--reverse::after {
  background: var(--accent-light);
  width: 4px; height: 4px;
  top: auto; bottom: -2px;
  box-shadow: 0 0 6px var(--accent-light);
}

.logo-glow-orb {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 159, 255, 0.12) 0%, transparent 70%);
  animation: glow-breathe 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* glow-breathe → now in shared.css */

.eyebrow {
  margin: 0 0 0.5rem;
  text-align: center;
  color: var(--accent-light);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

h1 {
  text-align: center;
  font-size: clamp(2rem, 2.5vw + 1.2rem, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  margin: 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 52ch;
  margin-inline: auto;
}

.header-divider {
  width: 80px;
  height: 2px;
  margin: 1.4rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0.5;
}

/* ═══════════════════════════════════════
   PROGRESS STEPPER
   ═══════════════════════════════════════ */
.stepper {
  position: relative;
  padding: 0;
}

.stepper-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.stepper-track {
  position: absolute;
  top: 18px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(110, 159, 255, 0.1);
  border-radius: 2px;
  z-index: 0;
}

.stepper-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transition: width 0.6s var(--ease-out-expo);
  box-shadow: 0 0 12px var(--accent-glow);
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.stepper-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-deep);
  border: 2px solid rgba(110, 159, 255, 0.15);
  color: var(--text-dim);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.stepper-step.is-active .stepper-dot {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(110, 159, 255, 0.1);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 0 4px rgba(110, 159, 255, 0.06);
}

.stepper-step.is-completed .stepper-dot {
  border-color: var(--success);
  color: var(--success);
  background: rgba(125, 255, 179, 0.08);
  box-shadow: 0 0 16px var(--success-glow);
}

.stepper-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.5s ease;
  text-align: center;
}

.stepper-step.is-active .stepper-label { color: var(--accent-light); }
.stepper-step.is-completed .stepper-label { color: var(--success); }

/* ═══════════════════════════════════════
   HEADINGS
   ═══════════════════════════════════════ */
h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 0.8vw + 1rem, 1.5rem);
  font-weight: 700;
}

/* ═══════════════════════════════════════
   CARD GLOW BORDER (animated)
   ═══════════════════════════════════════ */
/* card-glow-border, card-badge, modal-overlay → now in shared.css */

/* ═══════════════════════════════════════
   CARD BADGES
   ═══════════════════════════════════════ */
/* card-badge base → now in shared.css */

.card-badge--warning {
  background: linear-gradient(135deg, rgba(255, 180, 100, 0.15), rgba(255, 180, 100, 0.05));
  border-color: rgba(255, 180, 100, 0.25);
  color: var(--warn);
}

.card-badge--warning::after {
  background: radial-gradient(circle, var(--warn-glow) 0%, transparent 70%);
}

/* ═══════════════════════════════════════
   HERO / AUTH CARD
   ═══════════════════════════════════════ */
.hero-card {
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  margin-bottom: 1.2rem;
}

.hero-copy h2 {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
  margin: 1.6rem 0 1.4rem;
}

.action-row .btn {
  min-width: 200px;
}

/* btn-icon-left → shared.css */



/* ═══════════════════════════════════════
   USER PROFILE BAR
   ═══════════════════════════════════════ */
.user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem !important;
  border-radius: var(--radius-md) !important;
}

.user-bar-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(110, 159, 255, 0.2), rgba(110, 159, 255, 0.06));
  border: 2px solid rgba(110, 159, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.user-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  letter-spacing: 0.02em;
}

.session-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success-glow);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* btn-sm → now in shared.css */

/* ═══════════════════════════════════════
   HINT TEXT
   ═══════════════════════════════════════ */
.hint {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
  line-height: 1.65;
}

.hint-subtle {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 1rem;
}

/* ═══════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════ */
label {
  display: block;
  margin: 0.8rem 0 0.4rem;
  text-align: left;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

input,
textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(110, 159, 255, 0.12);
  background: var(--form-bg);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(110, 159, 255, 0.5);
  box-shadow:
    0 0 0 3px rgba(110, 159, 255, 0.1),
    0 0 24px rgba(110, 159, 255, 0.06);
  background: rgba(6, 12, 26, 0.98);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

/* ═══════════════════════════════════════
   STATUS TOAST 
   ═══════════════════════════════════════ */
.status-toast {
  position: fixed;
  bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--surface-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  max-width: min(90vw, 480px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.status-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.status-toast.status-error {
  border-color: rgba(255, 138, 138, 0.25);
}

.status-toast.status-error .status-text { color: var(--danger); }
.status-toast.status-error .status-icon { color: var(--danger); }

.status-toast.status-success {
  border-color: rgba(125, 255, 179, 0.2);
}

.status-toast.status-success .status-text { color: var(--success); }
.status-toast.status-success .status-icon { color: var(--success); }

/* status-icon → shared.css */

/* ═══════════════════════════════════════
   SKELETON LOADERS
   ═══════════════════════════════════════ */
.skeleton-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 1rem 0;
  background: var(--surface-alt);
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(110, 159, 255, 0.06) 25%,
    rgba(110, 159, 255, 0.12) 50%,
    rgba(110, 159, 255, 0.06) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  margin-bottom: 0.75rem;
}

.skeleton-line:nth-child(1) { width: 30%; height: 16px; }
.skeleton-line:nth-child(2) { width: 85%; }
.skeleton-line:nth-child(3) { width: 60%; }
.skeleton-line:last-child { width: 100%; height: 42px; border-radius: var(--radius-sm); margin-bottom: 0; margin-top: 0.4rem; }

/* ═══════════════════════════════════════
   PUNISHMENT ITEMS
   ═══════════════════════════════════════ */
.punishment-item {
  position: relative;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  margin: 1rem 0;
  background: var(--surface-alt);
  backdrop-filter: blur(12px);
  overflow: hidden;
  will-change: transform;
  transition:
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.5s var(--ease-out-expo);
}

.punishment-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 0 2px 2px 0;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.punishment-item--ban::before {
  background: linear-gradient(180deg, var(--danger), transparent);
}

.punishment-item:hover {
  border-color: var(--surface-border-hover);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(110, 159, 255, 0.05);
  transform: translateY(-1px);
}

.punishment-item:hover::before { opacity: 1; }

/* Punishment header row */
.punishment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
}

/* Type badge */
.punishment-type {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: rgba(110, 159, 255, 0.08);
  border: 1px solid rgba(110, 159, 255, 0.15);
  color: var(--accent-light);
}

.punishment-type--ban {
  background: rgba(255, 100, 100, 0.08);
  border-color: rgba(255, 100, 100, 0.15);
  color: var(--danger);
}

.punishment-type .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: glow-pulse 2s ease-in-out infinite;
}

.punishment-expand-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(110, 159, 255, 0.06);
  border: 1px solid rgba(110, 159, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.45s var(--ease-out-expo);
  flex-shrink: 0;
}

.punishment-expand-icon svg {
  transition: transform 0.45s var(--ease-out-expo);
}

.punishment-item.is-expanded .punishment-expand-icon {
  background: rgba(110, 159, 255, 0.12);
  border-color: rgba(110, 159, 255, 0.25);
  color: var(--accent);
}

.punishment-item.is-expanded .punishment-expand-icon svg {
  transform: rotate(180deg);
}

/* Meta info grid */
.punishment-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.2rem;
  margin-bottom: 0.6rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.meta-value {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   WIZARD FORM (inside punishment item)
   ═══════════════════════════════════════ */
.wizard {
  margin-top: 1rem;
  overflow: hidden;
}

.wizard-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.wizard-progress-dot {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(110, 159, 255, 0.1);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.wizard-progress-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.wizard-progress-dot.is-done {
  background: var(--success);
}

/* Wizard step panels */
.wizard-steps {
  position: relative;
}

.wizard-step {
  display: none;
  animation: wizard-fade-in 0.5s var(--ease-out-expo) forwards;
}

.wizard-step.is-active {
  display: block;
}

@keyframes wizard-fade-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wizard-step-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.wizard-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(110, 159, 255, 0.1);
  border: 1px solid rgba(110, 159, 255, 0.2);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.wizard-step-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Toggle switch (abuse question) */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.6rem 0;
}

.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  background: rgba(110, 159, 255, 0.1);
  border: 1px solid rgba(110, 159, 255, 0.15);
  cursor: pointer;
  transition: all 0.4s ease;
}

.toggle-track::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-dim);
  top: 2px;
  left: 2px;
  transition: all 0.4s var(--ease-out-expo);
}

.toggle input:checked + .toggle-track {
  background: rgba(255, 138, 138, 0.15);
  border-color: rgba(255, 138, 138, 0.3);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(22px);
  background: var(--danger);
  box-shadow: 0 0 8px rgba(255, 138, 138, 0.3);
}

.toggle-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* ── Reason badge (shows official reason in Step 1) ── */
.wizard-reason-badge {
  background: rgba(110, 159, 255, 0.04);
  border: 1px solid rgba(110, 159, 255, 0.1);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wizard-reason-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.wizard-reason-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-light);
  line-height: 1.45;
}

/* ── Choice buttons (Yes / No in Step 2) ── */
.choice-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.3rem 1rem;
  background: rgba(110, 159, 255, 0.03);
  border: 1px solid rgba(110, 159, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-soft);
  font-family: inherit;
  text-align: center;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.25s var(--ease-out-expo),
    box-shadow 0.35s ease;
  will-change: transform;
}

.choice-btn:hover {
  background: rgba(110, 159, 255, 0.06);
  border-color: rgba(110, 159, 255, 0.2);
  transform: translateY(-2px);
}

.choice-btn:active {
  transform: translateY(0) scale(0.98);
}

.choice-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.choice-btn--yes .choice-btn-icon {
  background: rgba(255, 138, 138, 0.08);
  border: 1px solid rgba(255, 138, 138, 0.15);
  color: var(--danger);
}

.choice-btn--no .choice-btn-icon {
  background: rgba(125, 255, 179, 0.06);
  border: 1px solid rgba(125, 255, 179, 0.12);
  color: var(--success);
}

.choice-btn-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.choice-btn-sub {
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Selected state */
.choice-btn.is-selected {
  transform: translateY(-2px);
}

.choice-btn--yes.is-selected {
  background: rgba(255, 138, 138, 0.08);
  border-color: rgba(255, 138, 138, 0.35);
  box-shadow: 0 0 20px rgba(255, 138, 138, 0.08);
}

.choice-btn--yes.is-selected .choice-btn-icon {
  background: rgba(255, 138, 138, 0.15);
  border-color: rgba(255, 138, 138, 0.3);
  box-shadow: 0 0 10px rgba(255, 138, 138, 0.15);
}

.choice-btn--no.is-selected {
  background: rgba(125, 255, 179, 0.06);
  border-color: rgba(125, 255, 179, 0.3);
  box-shadow: 0 0 20px rgba(125, 255, 179, 0.06);
}

.choice-btn--no.is-selected .choice-btn-icon {
  background: rgba(125, 255, 179, 0.12);
  border-color: rgba(125, 255, 179, 0.25);
  box-shadow: 0 0 10px rgba(125, 255, 179, 0.12);
}

@media (max-width: 500px) {
  .choice-buttons {
    grid-template-columns: 1fr;
  }
}

/* Wizard navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(110, 159, 255, 0.06);
}

.wizard-nav .btn {
  min-width: 120px;
}

.wizard-nav-spacer { flex: 1; }



/* ═══════════════════════════════════════
   SUBMIT BUTTONS
   ═══════════════════════════════════════ */
.punishment-item .btn-primary {
  width: 100%;
}

/* Submit success state */
.punishment-item.is-submitted {
  border-color: rgba(125, 255, 179, 0.2) !important;
}

.punishment-item.is-submitted::before {
  background: linear-gradient(180deg, var(--success), transparent) !important;
  opacity: 1 !important;
}

.appeal-success {
  text-align: center;
  padding: 1.5rem 1rem;
}

.appeal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(125, 255, 179, 0.08);
  border: 2px solid rgba(125, 255, 179, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--success);
}

.appeal-success h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 0.4rem;
}

.appeal-success p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   NO RECORDS STATE
   ═══════════════════════════════════════ */
.no-records {
  text-align: center;
  padding: 2rem 1rem;
}

.no-records-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(125, 255, 179, 0.06);
  border: 2px solid rgba(125, 255, 179, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--success);
}

.no-records h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.no-records p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════
   CONFIRMATION MODAL
   ═══════════════════════════════════════ */
/* modal-overlay → now in shared.css */

.modal-card {
  width: min(100%, 460px);
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(110, 159, 255, 0.12), rgba(110, 159, 255, 0.04));
  border: 2px solid rgba(110, 159, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--accent);
}

.modal-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.modal-desc {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.modal-summary {
  text-align: left;
  background: var(--surface-deep);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(110, 159, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-dim);
  max-height: 180px;
  overflow-y: auto;
}

.modal-summary .summary-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.3rem 0;
}

.modal-summary .summary-label {
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  min-width: 90px;
}

.modal-summary .summary-value {
  color: var(--text-dim);
  word-break: break-word;
}

.modal-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
}

.modal-actions .btn {
  min-width: 140px;
}

/* ═══════════════════════════════════════
   BACK BUTTON
   ═══════════════════════════════════════ */
.back-btn-wrap {
  text-align: center;
  margin: 0;
}

.back-btn {
  text-decoration: none;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 640px) {
  .container { gap: 1.2rem; }

  .action-row {
    flex-direction: column;
  }

  .action-row .btn {
    width: 100%;
    min-width: 0;
  }

  .logo-wrap {
    width: 90px;
    height: 90px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  .punishment-meta {
    grid-template-columns: 1fr;
  }

  .stepper-label {
    font-size: 0.65rem;
  }

  .stepper-dot {
    width: 30px;
    height: 30px;
  }

  .stepper-dot svg {
    width: 13px;
    height: 13px;
  }

  .user-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .user-bar-left {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .wizard-nav {
    flex-wrap: wrap;
  }

  .status-toast {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: translateX(0) translateY(20px);
    max-width: none;
  }

  .status-toast.is-visible {
    transform: translateX(0) translateY(0);
  }
}
