/* Beurs & Live Intel page */

.beurs-shell { max-width: 1400px; margin: 0 auto; }

.beurs-hero {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem;
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(74,222,128,0.08), rgba(251,146,60,0.06));
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 16px; padding: 1.25rem 1.5rem; margin-bottom: 1rem;
  box-shadow: 0 0 30px rgba(56,189,248,0.08);
}
.beurs-hero h1 { margin: 0 0 0.35rem; font-size: 1.65rem; color: #f8fafc; }
.beurs-hero .hero-sub { color: #94a3b8; margin: 0 0 0.35rem; }
.beurs-hero small { color: #64748b; }
.beurs-hero-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Neo tab bar — interactive */
.neo-tab-bar {
  position: relative;
  display: flex;
  gap: 0;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 14px;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.neo-tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  border: none; background: transparent;
  color: #94a3b8; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; position: relative; z-index: 1;
  transition: color 0.25s, transform 0.2s;
  letter-spacing: 0.02em;
}
.neo-tab:hover { color: #e2e8f0; transform: translateY(-1px); }
.neo-tab.active { color: #f8fafc; text-shadow: 0 0 20px rgba(56,189,248,0.5); }
.neo-tab-icon { font-size: 1.1rem; }
.neo-tab-badge {
  background: #fb7185; color: #fff; font-size: 0.6rem;
  padding: 0.1rem 0.35rem; border-radius: 999px; min-width: 1rem;
}
.neo-tab-indicator {
  position: absolute; bottom: 0.35rem; top: 0.35rem;
  background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(74,222,128,0.12));
  border: 1px solid rgba(56,189,248,0.45);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(56,189,248,0.2);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none; z-index: 0;
}

.beurs-section { animation: fade-up 0.35s ease; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #94a3b8; display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem;
}

.beurs-summary-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.25rem;
}
@media (max-width: 800px) { .beurs-summary-row { grid-template-columns: 1fr 1fr; } }
.beurs-stat-card {
  background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 0.75rem 1rem;
}
.beurs-stat-card span { display: block; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; }
.beurs-stat-card strong { font-size: 1.35rem; color: #f8fafc; }
.beurs-stat-card strong.up { color: #4ade80; }
.beurs-stat-card strong.down { color: #fb7185; }
.beurs-stat-card.warn strong { color: #fb923c; }
.beurs-stat-card.source-card a { color: #38bdf8; text-decoration: none; font-size: 0.95rem; }
.beurs-stat-card.source-card a:hover { text-decoration: underline; }

.beurs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.85rem;
}
.beurs-card {
  background: linear-gradient(160deg, rgba(13,18,25,0.95), rgba(8,12,18,0.98));
  border: 1px solid rgba(56,189,248,0.15); border-radius: 14px;
  padding: 0.85rem 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.beurs-card:hover { border-color: rgba(56,189,248,0.4); box-shadow: 0 0 20px rgba(56,189,248,0.1); }
.beurs-card.trend-up { border-color: rgba(74,222,128,0.25); }
.beurs-card.trend-down { border-color: rgba(251,113,133,0.25); }
.beurs-card.unlisted-card { border-color: rgba(148,163,184,0.2); opacity: 0.92; }

.beurs-card-head { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.35rem; }
.beurs-chain-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 0.35rem; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.beurs-card-head strong { display: block; color: #f1f5f9; font-size: 0.95rem; }
.beurs-card-head small { color: #64748b; font-size: 0.7rem; }
.beurs-pct { margin-left: auto; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.4rem; border-radius: 6px; }
.beurs-pct.up { color: #4ade80; background: rgba(74,222,128,0.12); }
.beurs-pct.down { color: #fb7185; background: rgba(251,113,133,0.12); }
.beurs-tag { margin-left: auto; font-size: 0.65rem; padding: 0.15rem 0.4rem; border-radius: 6px; background: rgba(148,163,184,0.15); color: #94a3b8; }

.beurs-chains { font-size: 0.72rem; color: #64748b; margin-bottom: 0.4rem; }
.beurs-price { font-size: 1.2rem; font-weight: 700; color: #f8fafc; margin-bottom: 0.35rem; }
.beurs-price small { font-size: 0.65rem; color: #94a3b8; margin-left: 0.25rem; }
.market-state { font-size: 0.6rem; color: #4ade80; margin-left: 0.5rem; text-transform: uppercase; }
.beurs-spark { width: 100%; height: 30px; display: block; margin: 0.25rem 0; }
.beurs-eq {
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  height: 22px; margin: 0.35rem 0;
}
.beurs-eq span {
  width: 4px; border-radius: 2px;
  background: linear-gradient(to top, rgba(56,189,248,0.3), #38bdf8);
  animation: hmEq 0.55s ease-in-out infinite alternate;
}
.beurs-eq span:nth-child(odd) { animation-delay: 0.1s; }
.beurs-sources { display: flex; justify-content: space-between; align-items: center; margin-top: 0.35rem; }
.beurs-sources small { font-size: 0.65rem; color: #64748b; }
.unlisted-note { font-size: 0.78rem; color: #94a3b8; margin: 0.35rem 0; }

.beurs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 900px) { .beurs-two-col { grid-template-columns: 1fr; } }
.panel-inner {
  background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 1rem 1.15rem;
}
.panel-inner h2 { margin: 0 0 0.75rem; font-size: 1rem; color: #f1f5f9; }

.tag { display: inline-block; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.12rem 0.4rem; border-radius: 4px; margin-bottom: 0.35rem; }
.tag-halal { background: rgba(74,222,128,0.15); color: #4ade80; }
.tag-dish { background: rgba(56,189,248,0.15); color: #38bdf8; }
.tag-trend { background: rgba(251,146,60,0.15); color: #fb923c; }

.concept-header { margin-bottom: 1rem; }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.concept-card {
  background: linear-gradient(135deg, rgba(192,132,252,0.08), rgba(56,189,248,0.06));
  border: 1px solid rgba(192,132,252,0.25); border-radius: 14px; padding: 1rem 1.15rem;
}
.concept-num { font-size: 0.65rem; color: #c084fc; font-weight: 700; }
.concept-card p { color: #e2e8f0; line-height: 1.55; margin: 0.5rem 0; font-size: 0.92rem; }
.concept-based small { color: #64748b; font-size: 0.72rem; }

.events-toolbar { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; }
.events-toolbar select { max-width: 220px; }
.events-stream { display: flex; flex-direction: column; gap: 0.35rem; }
.event-row {
  display: grid; grid-template-columns: 52px 100px 1fr 90px 80px; gap: 0.5rem; align-items: center;
  padding: 0.65rem 0.85rem; border-radius: 10px;
  background: rgba(15,23,42,0.7); border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; color: inherit; transition: all 0.2s;
}
.event-row:hover {
  border-color: rgba(56,189,248,0.4); background: rgba(56,189,248,0.08);
  transform: translateX(4px);
}
.event-time { font-size: 0.75rem; color: #64748b; font-variant-numeric: tabular-nums; }
.event-agent { font-size: 0.7rem; }
.event-title { font-size: 0.85rem; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-status { font-size: 0.65rem; text-transform: uppercase; color: #94a3b8; }
.event-status.st-needs_approval { color: #fb923c; }
.event-status.st-completed { color: #4ade80; }
.event-source { font-size: 0.65rem; color: #38bdf8; text-align: right; }
@media (max-width: 700px) {
  .event-row { grid-template-columns: 1fr; gap: 0.25rem; }
}

.topnav-beurs.active { color: #4ade80 !important; text-shadow: 0 0 12px rgba(74,222,128,0.4); }

@keyframes hmEq {
  from { height: 20%; opacity: 0.5; }
  to { height: 90%; opacity: 1; }
}
