/*
 * NXDNReflector-Dashboard2 — DARK PRO
 * Capa visual adicional. No modifica PHP, API ni JavaScript.
 */
:root {
  color-scheme: dark;
  --dp-bg: #070b14;
  --dp-panel: rgba(15, 23, 42, .88);
  --dp-panel-2: rgba(17, 29, 50, .78);
  --dp-border: rgba(83, 155, 255, .22);
  --dp-border-hot: rgba(59, 130, 246, .48);
  --dp-text: #e7eefb;
  --dp-muted: #91a2bb;
  --dp-blue: #55a6ff;
  --dp-cyan: #46d5e8;
  --dp-shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

html { min-height: 100%; background: var(--dp-bg); }
body {
  min-height: 100vh;
  color: var(--dp-text);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(21, 91, 173, .22), transparent 38%),
    radial-gradient(ellipse at 88% 18%, rgba(14, 116, 144, .12), transparent 32%),
    linear-gradient(145deg, #070b14 0%, #0a1221 52%, #080d18 100%) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .01em;
}
::selection { background: rgba(59, 130, 246, .35); color: #fff; }

.container { max-width: 1440px; }
.fixed.inset-0.-z-10 { opacity: .28; pointer-events: none; }
.fixed.inset-0.-z-10 > .absolute:first-child { opacity: .35; }
.fixed.inset-0.-z-10 .animate-pulse { animation-duration: 9s; }

.card-glossy {
  color: var(--dp-text);
  background: linear-gradient(145deg, rgba(18, 29, 49, .94), rgba(10, 18, 32, .94)) !important;
  border: 1px solid var(--dp-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--dp-shadow), inset 0 1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.card-glossy:hover {
  background: linear-gradient(145deg, rgba(20, 34, 57, .97), rgba(11, 21, 37, .97)) !important;
  border-color: var(--dp-border-hot) !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.4), 0 0 0 1px rgba(59,130,246,.06) !important;
}
.card-glossy h1, .card-glossy h2, .card-glossy h3 { color: #f1f6ff; letter-spacing: -.025em; }
.card-glossy h1 { text-shadow: 0 0 28px rgba(59,130,246,.18); }
.card-glossy h2 { font-size: 1.18rem; font-weight: 750; }
.card-glossy p.text-white\/60,
.card-glossy .text-white\/60 { color: var(--dp-muted) !important; }
.card-glossy .text-white\/80,
.card-glossy .text-white\/70 { color: #b8c7dc !important; }

.card-glossy .text-4xl {
  color: #f4f8ff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  text-shadow: 0 2px 18px rgba(59,130,246,.12);
}
.card-glossy .bg-blue-500\/20,
.card-glossy .bg-green-500\/20,
.card-glossy .bg-orange-500\/20,
.card-glossy .bg-purple-500\/20 {
  border: 1px solid rgba(130,170,220,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.card-glossy a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.card-glossy a:hover { filter: brightness(1.2); }

.table-glossy {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 520px;
  color: #dce7f7;
  font-size: .91rem;
}
.table-glossy thead {
  background: linear-gradient(90deg, rgba(30,64,110,.62), rgba(15,45,75,.58)) !important;
}
.table-glossy th {
  color: #a9c9f4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .095em;
  white-space: nowrap;
  border-top: 1px solid rgba(91,157,239,.2);
  border-bottom: 1px solid rgba(91,157,239,.24);
}
.table-glossy th:first-child { border-radius: 9px 0 0 0; }
.table-glossy th:last-child { border-radius: 0 9px 0 0; }
.table-glossy td {
  color: #d2deef;
  border-bottom: 1px solid rgba(148,163,184,.09) !important;
  padding-top: .9rem;
  padding-bottom: .9rem;
  font-variant-numeric: tabular-nums;
}
.table-glossy tbody tr { background: rgba(8,15,27,.18); }
.table-glossy tbody tr:nth-child(even) { background: rgba(30,48,73,.16); }
.table-glossy tbody tr:hover { background: rgba(37,99,235,.13) !important; }
.table-glossy tbody tr:last-child td { border-bottom: 0 !important; }

#tx-alert {
  border-color: rgba(248, 82, 102, .55) !important;
  background: linear-gradient(115deg, rgba(77,18,35,.82), rgba(24,19,37,.94)) !important;
  box-shadow: 0 0 34px rgba(239,68,68,.10), var(--dp-shadow) !important;
}
#tx-alert h2 { letter-spacing: .04em; text-shadow: 0 0 18px rgba(248,113,113,.2); }

hr { border-color: rgba(148,163,184,.12); }
.overflow-x-auto { scrollbar-width: thin; scrollbar-color: #31527a #0b1423; }
.overflow-x-auto::-webkit-scrollbar { height: 8px; }
.overflow-x-auto::-webkit-scrollbar-track { background: #0b1423; border-radius: 10px; }
.overflow-x-auto::-webkit-scrollbar-thumb { background: #31527a; border-radius: 10px; }
.overflow-x-auto::-webkit-scrollbar-thumb:hover { background: #4778ad; }

button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--dp-cyan);
  outline-offset: 3px;
  border-radius: 5px;
}
img { image-rendering: auto; }
footer { color: var(--dp-muted); }

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 767px) {
  .container { padding-left: .85rem !important; padding-right: .85rem !important; padding-top: 1rem !important; }
  .card-glossy { border-radius: 14px !important; padding: 1.1rem !important; }
  .card-glossy h1 { font-size: 1.8rem; line-height: 1.15; }
  .card-glossy h2 { font-size: 1.05rem; margin-bottom: 1rem; }
  .card-glossy .text-4xl { font-size: 2rem; }
  #tx-alert .text-3xl { font-size: 1.35rem; }
  #tx-alert .text-2xl { font-size: 1.2rem; }
  .table-glossy th, .table-glossy td { padding-left: .85rem; padding-right: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
