/* =========================================
   1. THEME & NEON ESPORTS DESIGN TOKENS
   ========================================= */
:root {
  --bg-void: #060611;
  --bg-panel: rgba(15, 16, 36, 0.88);
  --bg-card: rgba(23, 24, 52, 0.78);
  --bg-input: rgba(10, 11, 26, 0.92);
  --border-dim: rgba(139, 92, 246, 0.25);
  --border-cyan: rgba(34, 211, 238, 0.55);
  --border-purple: rgba(168, 85, 247, 0.65);
  --neon-purple: #a855f7;
  --neon-purple-bright: #c084fc;
  --neon-cyan: #22d3ee;
  --neon-pink: #ec4899;
  --neon-green: #10b981;
  --neon-red: #f43f5e;
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --shadow-purple: 0 0 24px rgba(168, 85, 247, 0.28);
  --shadow-cyan: 0 0 22px rgba(34, 211, 238, 0.28);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-void);
  background-image:
    radial-gradient(circle at 15% 12%, rgba(168, 85, 247, 0.22), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(34, 211, 238, 0.18), transparent 42%),
    radial-gradient(circle at 50% 88%, rgba(236, 72, 153, 0.14), transparent 48%),
    linear-gradient(180deg, #060611 0%, #0b0c20 55%, #060611 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

.font-display {
  font-family: 'Orbitron', 'Noto Sans KR', sans-serif;
  letter-spacing: 0.04em;
}

/* =========================================
   2. TOP BAR & ADMIN BUTTON
   ========================================= */
.top-nav {
  position: relative;
  z-index: 20;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: var(--neon-purple-bright);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-trigger-btn {
  position: relative;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.55);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.95));
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-trigger-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.24));
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
}

/* =========================================
   3. HERO HEADER
   ========================================= */
.page-container {
  position: relative;
  z-index: 10;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  pointer-events: auto;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 23, 54, 0.92), rgba(11, 12, 29, 0.95));
  border: 1px solid var(--border-purple);
  box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 36px 26px;
  text-align: center;
  margin-bottom: 28px;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
  pointer-events: none;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff 0%, var(--neon-purple-bright) 48%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 22px;
  color: var(--text-sub);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
}

.schedule-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.schedule-pill {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(10, 11, 26, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-main);
}

.schedule-pill.fri {
  border-color: rgba(168, 85, 247, 0.55);
  color: var(--neon-purple-bright);
}

.schedule-pill.sat {
  border-color: rgba(34, 211, 238, 0.55);
  color: var(--neon-cyan);
}

/* =========================================
   4. FORM SECTIONS & INPUTS
   ========================================= */
.form-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .form-panel {
    padding: 32px 34px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #060611;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.section-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .input-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.field-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.req-badge {
  color: var(--neon-cyan);
  font-size: 0.8rem;
  font-weight: 700;
}

.opt-badge {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.neon-input,
.neon-textarea,
.neon-select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  background-color: var(--bg-input);
  color: #ffffff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  touch-action: manipulation;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.neon-input::placeholder,
.neon-textarea::placeholder {
  color: #64748b;
}

.neon-input:focus,
.neon-textarea:focus,
.neon-select:focus {
  outline: none;
  border-color: var(--neon-cyan);
  background-color: rgba(13, 16, 38, 0.98);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2), 0 0 18px rgba(34, 211, 238, 0.25);
}

.neon-textarea {
  min-height: 105px;
  resize: vertical;
}

.field-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   5. MULTI-SELECT GAME CHECKBOXES (FRI / SAT)
   ========================================= */
.days-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 860px) {
  .days-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.day-box {
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  padding: 20px;
  pointer-events: auto;
}

.day-box.friday {
  border-top: 3px solid var(--neon-purple);
}

.day-box.saturday {
  border-top: 3px solid var(--neon-cyan);
}

.day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 800;
}

.day-heading.friday span {
  color: var(--neon-purple-bright);
}

.day-heading.saturday span {
  color: var(--neon-cyan);
}

.day-heading .opt-badge {
  white-space: nowrap;
}

.game-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: rgba(9, 10, 24, 0.78);
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  cursor: pointer;
  pointer-events: auto !important;
  user-select: none;
  transition: all 0.18s ease;
}

.game-option-label:hover {
  border-color: rgba(168, 85, 247, 0.65);
  background: rgba(25, 26, 58, 0.92);
}

.game-option-label.checked {
  border-color: var(--neon-cyan);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(34, 211, 238, 0.16));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.22);
}

.game-checkbox {
  width: 21px;
  height: 21px;
  accent-color: var(--neon-cyan);
  cursor: pointer;
  pointer-events: auto !important;
  flex-shrink: 0;
}

.game-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.game-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  flex: 1;
  word-break: keep-all;
}

.match-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: var(--neon-cyan);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.selected-games-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(10, 11, 28, 0.85);
  border: 1px dashed rgba(34, 211, 238, 0.45);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: var(--neon-cyan);
  font-weight: 700;
  font-size: 0.82rem;
}

/* =========================================
   6. CONSENT BOX & SUBMIT BUTTON
   ========================================= */
.consent-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.35);
  cursor: pointer;
  pointer-events: auto !important;
  margin-bottom: 18px;
}

.consent-checkbox {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--neon-purple);
  cursor: pointer;
  pointer-events: auto !important;
  flex-shrink: 0;
}

.consent-text {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.consent-text strong {
  color: #ffffff;
}

.error-banner {
  display: none;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(244, 63, 94, 0.14);
  border: 1.5px solid rgba(244, 63, 94, 0.7);
  color: #fecdd3;
  font-weight: 700;
  font-size: 0.94rem;
}

.error-banner.visible {
  display: block;
}

.submit-btn {
  width: 100%;
  padding: 17px 24px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--neon-purple) 0%, #7c3aed 45%, var(--neon-cyan) 100%);
  background-size: 200% 200%;
  color: #ffffff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  pointer-events: auto !important;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.45), 0 0 20px rgba(34, 211, 238, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.65), 0 0 28px rgba(34, 211, 238, 0.4);
}

.submit-btn:disabled,
.btn-primary-cyan:disabled,
.btn-secondary-dark:disabled,
.btn-danger-sm:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
  filter: none;
}

/* =========================================
   7. MODALS
   ========================================= */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 12, 0.84);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  pointer-events: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  /* margin:auto centers the card but never pushes a tall card above the scroll area */
  margin: auto;
  background: linear-gradient(160deg, #151633 0%, #0b0c20 100%);
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 0 45px rgba(34, 211, 238, 0.28), 0 24px 60px rgba(0, 0, 0, 0.75);
  position: relative;
  pointer-events: auto;
  animation: modalPop 0.22s ease-out;
}

.modal-card.admin-wide {
  max-width: 1180px;
  border-color: var(--border-purple);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.3), 0 24px 60px rgba(0, 0, 0, 0.8);
}

@keyframes modalPop {
  from { transform: scale(0.95) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close-x:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: var(--neon-red);
}

.complete-badge-box {
  text-align: center;
  margin-bottom: 20px;
}

.complete-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--neon-cyan);
  margin-bottom: 6px;
}

.complete-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.ticket-box {
  background: rgba(7, 8, 20, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
}

.ticket-number-row {
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.25);
}

.ticket-number-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ticket-number-val {
  font-family: 'Orbitron', monospace;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--neon-purple-bright);
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.55);
  margin-top: 2px;
}

.ticket-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.ticket-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ticket-meta-key {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.ticket-meta-val {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.ticket-games-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.btn-primary-cyan {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--neon-cyan), #0284c7);
  color: #041019;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-primary-cyan:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary-dark {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary-dark:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--neon-cyan);
}

.btn-csv {
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.65);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(5, 150, 105, 0.28));
  color: #6ee7b7;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-csv:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.38), rgba(5, 150, 105, 0.42));
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.3);
}

.btn-danger-sm {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(244, 63, 94, 0.55);
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-danger-sm:hover {
  background: rgba(244, 63, 94, 0.34);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

@media (min-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: rgba(10, 11, 27, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--neon-cyan);
  margin-top: 4px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(7, 8, 20, 0.92);
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
  font-size: 0.86rem;
}

table.admin-table th,
table.admin-table td {
  padding: 12px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  vertical-align: top;
}

table.admin-table th {
  background: rgba(30, 27, 75, 0.75);
  color: var(--neon-purple-bright);
  font-weight: 800;
  white-space: nowrap;
}

table.admin-table tr:hover td {
  background: rgba(168, 85, 247, 0.07);
}

.admin-msg {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 22px;
}

.admin-msg.error {
  color: #fda4af;
}

.admin-msg.success {
  color: #6ee7b7;
}

.footer-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 36px;
}

/* =========================================
   8. HELPERS (moved from inline styles)
   ========================================= */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(168, 85, 247, 0.18);
  color: #e9d5ff;
}

.btn-accent-purple {
  border-color: rgba(168, 85, 247, 0.55);
  color: #e9d5ff;
}

.btn-primary-cyan.btn-inline {
  width: auto;
  padding: 10px 20px;
}

.modal-title {
  margin-bottom: 10px;
}

.modal-desc {
  margin-bottom: 18px;
}

.login-field {
  margin-bottom: 14px;
}

.modal-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.section-header.with-close {
  padding-right: 42px;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.import-panel {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(15, 16, 38, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.import-panel-title {
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--neon-purple-bright);
  margin-bottom: 6px;
}

.import-panel-desc {
  margin-bottom: 10px;
}

.import-textarea {
  min-height: 82px;
  margin-bottom: 10px;
}

.import-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.stat-value.is-purple {
  color: var(--neon-purple-bright);
}

.stat-value.is-green {
  color: var(--neon-green);
}

table.admin-table td.table-empty {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
}

table.admin-table td.cell-appnum {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--neon-purple-bright);
  white-space: nowrap;
}

table.admin-table td.cell-strong {
  font-weight: 700;
}

table.admin-table td.cell-time {
  white-space: nowrap;
  color: var(--text-sub);
}

table.admin-table td.cell-notes {
  max-width: 220px;
  word-break: break-word;
}
