/* CSS Design Tokens */
:root {
  --bg-dark: #0a0d14;
  --bg-card: rgba(18, 22, 34, 0.85);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-sidebar: rgba(14, 18, 28, 0.95);
  --bg-input: #121724;
  
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-accent: #06b6d4;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-e1: #3b82f6; /* Blue SQLite WASM */
  --color-e2: #8b5cf6; /* Purple JS Engine */
  --color-e3: #f59e0b; /* Amber Optimizer Engine */
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --glass-bg: rgba(20, 26, 40, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.12) 0px, transparent 50%);
  min-height: 100vh;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Navbar */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
  flex-shrink: 0;
}

.brand-text h1 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.header-actions .btn,
.header-actions button,
.header-actions a,
.header-actions .seed-control {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.seed-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  font-size: 12px;
  white-space: nowrap;
}

.seed-control input {
  width: 80px;
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  padding: 20px;
  flex: 1;
}

@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Cards & Containers */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  padding: 14px 18px;
  border-bottom: var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.card-header h3, .card-header h4 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  padding: 16px;
}

.sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workspace-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Form Inputs & Buttons */
.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
  background: #1e2538;
  height: 6px;
  border-radius: 3px;
}

.form-select {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-input);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #4338ca);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #0891b2);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--color-success), #059669);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: var(--glass-border);
  padding-bottom: 8px;
}

.nav-tab {
  background: rgba(255, 255, 255, 0.04);
  border: var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.nav-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Code & Textarea Editor */
#sql-editor {
  width: 100%;
  background: #0d111a;
  border: none;
  color: #a5b4fc;
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 16px;
  outline: none;
  resize: vertical;
  line-height: 1.6;
}

.code-block {
  background: #090c14;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #e5e7eb;
  border-radius: var(--radius-md);
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Engine Section & Grid */
.section-title {
  margin: 16px 0 12px;
}

.section-title h2, .section-title h3 {
  font-family: var(--font-title);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .engine-grid {
    grid-template-columns: 1fr;
  }
}

.engine-card {
  border-top: 4px solid var(--text-dim);
}

#engine-card-1 { border-top-color: var(--color-e1); }
#engine-card-2 { border-top-color: var(--color-e2); }
#engine-card-3 { border-top-color: var(--color-e3); }

.engine-header {
  padding: 10px 14px;
}

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

.engine-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.e1-header .engine-number { background: var(--color-e1); }
.e2-header .engine-number { background: var(--color-e2); }
.e3-header .engine-number { background: var(--color-e3); }

.engine-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.metric .label {
  font-size: 11px;
  color: var(--text-muted);
}

.metric .value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
  margin-left: 4px;
}

.engine-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.e-tab {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.e-tab.active {
  color: var(--text-main);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

.engine-tab-content {
  display: none;
}

.engine-tab-content.active {
  display: block;
}

/* Tables & Results Data */
.table-responsive {
  max-height: 280px;
  overflow: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-family: var(--font-mono);
}

table.data-table th {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  text-align: left;
  position: sticky;
  top: 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table.data-table td {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

table.data-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}

.badge-outline {
  border: 1px solid var(--color-primary);
  color: #a5b4fc;
}

.status-badge {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.status-idle { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.status-success { background: rgba(16, 185, 129, 0.2); color: var(--color-success); border: 1px solid var(--color-success); }
.status-error { background: rgba(239, 68, 68, 0.2); color: var(--color-danger); border: 1px solid var(--color-danger); }

/* Schema & Batch Grids */
.schema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.batch-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  display: flex;
  flex-direction: column;
}

.stat-label { font-size: 11px; color: var(--text-muted); }
.stat-value { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: #fff; margin-top: 4px; }
.stat-success .stat-value { color: var(--color-success); }
.stat-danger .stat-value { color: var(--color-danger); }

.batch-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.batch-results-table th {
  text-align: left;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.batch-results-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.placeholder-text { padding: 20px; text-align: center; color: var(--text-dim); font-style: italic; }
.fs-xs { font-size: 11px; }
.p-0 { padding: 0 !important; }
.m-0 { margin: 0 !important; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* Additional Styles for Human Resolver & Interactive Mode */
.human-card {
  border-top: 4px solid var(--color-accent);
}

.bg-human-header {
  background: rgba(6, 182, 212, 0.08);
}

.human-input-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .human-input-grid {
    grid-template-columns: 1fr;
  }
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.text-primary { color: var(--color-primary); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }

/* --- Participant Quiz & Keyboard (1, 2, 3, 4) Controls --- */
kbd {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.quiz-card {
  border-top: 4px solid var(--color-primary);
}

.quiz-header {
  background: rgba(99, 102, 241, 0.08);
}

.quiz-stats-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-pill {
  background: rgba(0, 0, 0, 0.3);
  border: var(--glass-border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dialect Config & Tabs Bar */
.dialect-config-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  flex-wrap: wrap;
  gap: 10px;
}

.dialect-label {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dialect-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialect-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.dialect-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.dialect-num {
  font-weight: 700;
  margin-right: 4px;
  opacity: 0.8;
}

/* Question Code Box */
.quiz-question-box {
  background: rgba(14, 18, 28, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
}

.q-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.q-badge {
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.q-dialect-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.q-prompt {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.query-code-preview pre {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: #e6edf3;
  font-family: var(--font-mono);
  font-size: 13.5px;
  white-space: pre-wrap;
}

/* Options Grid (1, 2, 3, 4) */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
}

.quiz-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 28, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  outline: none;
  position: relative;
}

.quiz-option-card:hover:not(.opt-disabled):not(.opt-correct):not(.opt-incorrect) {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.opt-key-badge {
  margin-right: 12px;
}

.opt-text {
  flex: 1;
  font-size: 14px;
}

.opt-text code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

.opt-correct {
  border-color: var(--color-success) !important;
  background: rgba(16, 185, 129, 0.15) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
  animation: pulseGreen 0.4s ease;
}

.opt-incorrect {
  border-color: var(--color-danger) !important;
  background: rgba(239, 68, 68, 0.15) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3) !important;
  animation: shakeRed 0.4s ease;
}

.table-option-card {
  transition: all 0.2s ease-in-out;
}

.table-option-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25) !important;
  transform: translateY(-2px);
}

.opt-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes pulseGreen {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes shakeRed {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Feedback Box */
.quiz-feedback-box {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.fb-correct {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--color-success);
  color: #fff;
}

.fb-incorrect {
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--color-danger);
  color: #fff;
}

.fb-icon {
  font-size: 24px;
}

.fb-correct .fb-icon { color: var(--color-success); }
.fb-incorrect .fb-icon { color: var(--color-danger); }

.resolved-preview-box pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.syntax-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .syntax-select-grid {
    grid-template-columns: 1fr;
  }
}

/* Real-Time Telemetry Row Highlight Animation */
@keyframes pulse-row {
  0% { background-color: rgba(16, 185, 129, 0.4); }
  50% { background-color: rgba(16, 185, 129, 0.25); }
  100% { background-color: transparent; }
}

.row-highlight {
  animation: pulse-row 2s ease-out;
}

/* ==========================================================================
   Admin Dashboard Access Control & Login Modal
   ========================================================================== */

body.admin-locked .app-container {
  display: none !important;
}

.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.admin-modal-card {
  background: rgba(15, 23, 42, 0.96);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%;
  max-width: 440px;
  color: var(--text-main, #f8fafc);
  animation: admin-modal-pop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes admin-modal-pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.admin-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.admin-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 2px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.admin-modal-header h2 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px 0;
}

.admin-modal-header p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.admin-modal-form .form-group {
  margin-bottom: 18px;
}

.admin-modal-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 10px 42px 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.btn-toggle-eye {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  font-size: 14px;
  transition: color 0.2s;
}

.btn-toggle-eye:hover {
  color: #38bdf8;
}

.admin-error-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.admin-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}



