/* Tema espacial. Bootstrap gestiona columnas y formularios; este archivo personaliza el diseño. */
:root {
  --bs-body-bg: #080d20;
  --bs-body-color: #e8efff;
  --bs-border-color: #293656;
  --bs-primary: #7f78ff;
}
body {
  background:
    radial-gradient(ellipse at 80% 0%, #242057 0, transparent 45%), #080d20;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
}
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 13% 20%, #8da9d6 100%, transparent),
    radial-gradient(1px 1px at 45% 65%, #8da9d6 100%, transparent),
    radial-gradient(1px 1px at 80% 40%, #8da9d6 100%, transparent);
  background-size: 250px 260px;
  opacity: 0.35;
  z-index: -1;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: white;
}
.brand span {
  display: block;
  font-size: 10px;
  color: #72d6ed;
  margin-left: 22px;
  letter-spacing: 0.4em;
}
.hero {
  padding: 90px 0 100px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.eyebrow {
  color: #74dce9;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 20px;
}
.muted {
  color: #9caccb;
}
.panel {
  background: linear-gradient(135deg, #141d38ed, #10162cf2);
  border: 1px solid #2a3554;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 24px 60px #0003;
}
.btn-primary {
  background: #8273ff;
  border-color: #8273ff;
  color: #fff;
}
.btn-primary:hover {
  background: #6855ed;
  border-color: #6855ed;
}
.btn {
  border-radius: 10px;
  padding: 11px 18px;
}
.btn-outline-light {
  border-color: #495779;
  color: #d8e5ff;
}
.form-control,
.form-select {
  background: #090f24;
  border-color: #354263;
  padding: 11px;
}
.form-control:focus {
  background: #0a1127;
  box-shadow: 0 0 0 3px #8177ff40;
  border-color: #8177ff;
}
.keys {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  gap: 10px;
}
.keys .system {
  color: #8be8f2;
  background: #1d2f49;
  text-align: center;
}
.orbit {
  width: 280px;
  height: 280px;
  border: 1px solid #526399;
  border-radius: 50%;
  margin: auto;
  position: relative;
  box-shadow:
    0 0 80px #6655ee30,
    inset 0 0 50px #6655ee20;
  animation: float 6s ease-in-out infinite;
}
.orbit:before {
  content: "◈";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 100px;
  color: #8bd6ff;
  text-shadow: 0 0 40px #9471ff;
}
.orbit:after {
  content: "";
  width: 16px;
  height: 16px;
  background: #8ee8fa;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  left: 50px;
  box-shadow: 0 0 25px #8ee8fa;
}
.count {
  font-size: clamp(32px, 7vw, 76px);
  font-variant-numeric: tabular-nums;
  color: #8de7ef;
  font-weight: 700;
}
.table {
  --bs-table-bg: transparent;
  font-size: 13px;
}
.table td {
  max-width: 320px;
  word-break: break-word;
}
.code {
  font-family: monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #080e20;
  padding: 20px;
  border-radius: 12px;
  color: #8fe5f1;
}
.progress {
  height: 12px;
}
.tag {
  border: 1px solid #3a4a71;
  border-radius: 40px;
  padding: 5px 12px;
  font-size: 12px;
  color: #b8c9ed;
}
.notice {
  position: fixed;
  bottom: 25px;
  left: 5%;
  right: 5%;
  z-index: 100;
  padding: 18px;
  background: #172947;
  border: 1px solid #668bbf;
  border-radius: 12px;
}
.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.smallbutton {
  padding: 5px 9px;
  font-size: 12px;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 600px) {
  .keys {
    grid-template-columns: 1fr;
  }
  .keys .system {
    max-width: 100px;
  }
  .hero {
    padding-top: 30px;
  }
  .panel {
    padding: 18px;
  }
  .orbit {
    width: 180px;
    height: 180px;
  }
  .brand {
    font-size: 12px;
  }
}
@media print {
  header,
  footer,
  .admin-tabs,
  button,
  .stars {
    display: none !important;
  }
  body,
  .panel {
    background: white !important;
    color: black !important;
  }
  .table {
    --bs-table-color: black;
  }
  .muted {
    color: #333;
  }
  .panel {
    box-shadow: none;
  }
}
