/* Premium contrast pass: cards, hero price, sidebar, nav, table, right panel.
 *
 * Layer 05 of the stylesheet. ORDER IS SIGNIFICANT: this file's rules
 * are overridden by every later layer and override every earlier one, exactly as
 * when they were one file. See docs/frontend-architecture.md. */

/* ===== PREMIUM CONTRAST PASS ===== */

body {
  background:
    radial-gradient(circle at 50% -20%, rgba(0,255,153,.12), transparent 30%),
    #030507 !important;
}

/* CARDS */
.main-card,
.sidebar,
.right-panel {
  background:
    linear-gradient(180deg, #0b1117 0%, #070b10 100%) !important;

  border: 1px solid rgba(255,255,255,.06) !important;

  box-shadow:
    0 30px 80px rgba(0,0,0,.72),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}



/* HERO PRICE */
.hero-price {
  font-size: 44px !important;
  font-weight: 900 !important;
}

/* SIDEBAR */
.sidebar {
  border-right: 1px solid rgba(255,255,255,.05);
}

/* NAV ITEMS */
.nav-item {
  height: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #94a3ad;
}

.nav-item.active {
  color: #ffffff !important;

  background:
    linear-gradient(
      90deg,
      rgba(0,255,153,.22),
      rgba(0,255,153,.06)
    ) !important;

  border: 1px solid rgba(0,255,153,.35);

  box-shadow:
    0 0 22px rgba(0,255,153,.12),
    inset 3px 0 0 #00ff99;
}

/* TABLE */
.signal-table th {
  color: #7f8c96 !important;
  font-size: 11px;
}

.signal-table td {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.signal-table tbody tr {
  background: rgba(255,255,255,.015);
}

.signal-table tbody tr:hover {
  background: rgba(0,255,153,.10) !important;
}

/* RIGHT PANEL */
.right-panel {
  background:
    radial-gradient(circle at top, rgba(0,255,153,.10), transparent 30%),
    linear-gradient(180deg, #0e161d, #070b10) !important;
min-width: 340px;
  }

/* GREEN GLOW */
.green,
.hero-status,
.signal-pill.strong,
.score-big {
  text-shadow: 0 0 12px rgba(0,255,153,.35);
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff99;
  box-shadow: 0 0 12px rgba(0, 255, 153, .8), 0 0 24px rgba(0, 255, 153, .4);
  animation: heartbeat 2.5s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #00ff99;
  transform: translate(-50%, -50%);
  animation: pulseRing 2.5s ease-out infinite;
  opacity: 0;
}

@keyframes pulseRing {
  0% { 
    opacity: .6;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
}

@keyframes heartbeat {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.85); }
}

/* SHARP TEXT */
h1, h2, h3, strong {
  letter-spacing: -.02em;
}
.drawer-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-card {
  background:
    linear-gradient(180deg, rgba(12,20,27,.92), rgba(6,10,14,.92));

  border: 1px solid rgba(255,255,255,.07);

  border-radius: 16px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 12px 28px rgba(0,0,0,.35);
}
/* RIGHT PANEL PREMIUM STACK */

.detail-card {
  background:
    linear-gradient(
      180deg,
      rgba(12,18,24,.92),
      rgba(7,11,15,.96)
    ) !important;

  border: 1px solid rgba(255,255,255,.07);

  border-radius: 18px;

  padding: 18px;

  margin-top: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 16px 35px rgba(0,0,0,.35);
}

.detail-section-title {
  color: #8e9aa5;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 12px;
  font-weight: 700;
}

.detail-reason {
  color: #d8e3ea;
  line-height: 1.7;
  font-size: 14px;
}

.detail-line {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  font-size: 14px;
}

.right-panel h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
}
.signal-table {
  border-spacing: 0 10px;
  border-collapse: separate;
}

.signal-table tbody tr {
  background: rgba(255,255,255,.02);
  transition: .18s ease;
}

.signal-table tbody tr td:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.signal-table tbody tr td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}
.system-status {
  color: #7e8b95;
  font-size: 12px;
  margin-bottom: 26px;
  letter-spacing: .04em;
}
.detail-line strong {
  font-weight: 800;
}

.detail-line span {
  color: #9ba8b2;
}
