:root {
  --bg-deep: #090a0f;
  --bg-panel: #11131c;
  --bg-card: #171a26;
  --accent-neon: #00ffaa;
  --accent-alert: #ff3b3b;
  --text-main: #e2e8f0;
  --text-muted: #64748b;
  --border-glow: rgba(0, 255, 170, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Structural Layouts */
.centralize {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.hidden { display: none !important; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--bg-panel);
  border-bottom: 1px solid #1e293b;
}

.branding {
  font-weight: bold;
  letter-spacing: 2px;
}
.branding span { color: var(--text-muted); }

.grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  padding: 40px;
}

/* UI Panels */
.panel {
  background: var(--bg-panel);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--accent-neon);
  box-shadow: 0 0 20px var(--border-glow);
  padding: 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
}

/* Inputs & Form Controls */
h2, h3, h4 { margin-bottom: 16px; letter-spacing: 1px; }
h2 { text-align: center; color: var(--accent-neon); }

input, select {
  width: 100%;
  background: #0d0f17;
  border: 1px solid #334155;
  color: #fff;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

input:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 8px var(--border-glow);
}

button {
  width: 100%;
  padding: 12px;
  background: var(--accent-neon);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button:active { transform: scale(0.96); }
.danger-btn { background: var(--accent-alert); color: #fff; }
.warn-btn { background: #eab308; color: #000; }
.btn-row { display: flex; gap: 12px; }

/* Tables */
.table-container { overflow-y: auto; max-height: 500px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px; border-bottom: 1px solid #1e293b; }
th { color: var(--text-muted); text-transform: uppercase; font-size: 12px; }

/* Playful Custom Animations */
@keyframes pulseGlow {
  0% { text-shadow: 0 0 4px var(--border-glow); }
  50% { text-shadow: 0 0 12px var(--accent-neon), 0 0 20px var(--accent-neon); }
  100% { text-shadow: 0 0 4px var(--border-glow); }
}

.pulse {
  animation: pulseGlow 2.5s infinite ease-in-out;
  color: var(--accent-neon);
}

@keyframes bounceIn {
  0% { transform: translateY(30px); opacity: 0; }
  60% { transform: translateY(-10px); }
  100% { transform: translateY(0); opacity: 1; }
}

.bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.error { color: var(--accent-alert); font-size: 12px; margin-top: -8px; margin-bottom: 12px; }
