body { background: radial-gradient(ellipse at top, #0c0c12 0%, #050508 60%); }
.navbar { letter-spacing: .5px; }
.card { border: 1px solid rgba(255,193,7,.25); }
.btn-warning { text-transform: uppercase; font-weight: 700; }

/* Dashboard grid */
.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
}
@media (max-width: 991px) {
  .dashboard { grid-template-columns: 1fr; }
}

/* Sidebar */
.dash-sidebar { min-height: calc(100vh - 140px); position: sticky; top: 1rem; }
.logo-square {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; background: #111826; color: #ffc107; font-weight: 800;
}
.dash-nav { color: #d1d5db; border-radius: .6rem; padding: .5rem .75rem; }
.dash-nav:hover { background: #222633; color: #fff; }
.dash-nav.active { background: #1e2635; color: #ffc107; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,193,7,.22); }

/* Cards */
.dash-card { background: #151a24 ; border: 1px solid rgba(255, 193, 7, .2); }
.dash-card .card-header { background: rgba(255,193,7,.06); border-bottom: 1px solid rgba(255,193,7,.15); }
.icon-pill {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 999px; background: #111826; color: #ffc107; font-size: 1.1rem;
}
.avatar-circle {
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: #1f2633; color: #e2e8f0; font-weight: 700;
}

/* Dark tweaks */
.bg-dark-subtle { background: #1a2230 !important; color: #e2e8f0; }
.card { border-radius: 1rem; }

/* Override secondary text to be brighter */
.text-secondary {
  color: #cbd5e1 !important; /* lighter gray-blue instead of dark gray */
}

/* Card titles and labels */
.card .text-secondary {
  color: #9ca3af !important; /* softer gray */
}

.bi {
  color: inherit !important;
  vertical-align: -0.125em;
  font-size: 1.1rem;
}

/* Navbar user pill */
.user-pill {
  background: #0f1420;
  border: 1px solid rgba(255,193,7,.25);
}
.user-pill:hover {
  background: #151a24;
  border-color: rgba(255,193,7,.45);
}
.avatar-circle-sm {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #1e2635;
  color: #ffc107;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
}

.navbar { padding-top: .35rem; padding-bottom: .35rem; }

/* Portal base */
.portal-container {
  background-image: radial-gradient(1200px 600px at 20% -10%, rgba(255,193,7,.06), transparent 60%),
                    radial-gradient(900px 500px at 100% 0%, rgba(0,163,255,.06), transparent 60%);
}

/* HERO */
.portal-hero {
  background: #0b0f16 url('/assets/img/hero.jpg') center/cover no-repeat;
  border: 1px solid rgba(255,193,7,.2);
  margin-top: .5rem;
}
.hero-overlay {
  backdrop-filter: saturate(120%) brightness(0.9);
  background: linear-gradient(180deg, rgba(9,12,18,.50), rgba(9,12,18,.85));
}
.text-glow { text-shadow: 0 0 10px rgba(255,193,7,.35), 0 0 2px rgba(0,0,0,.8); }

/* CTAs */
.cta-card {
  background: url('/assets/img/slab-texture.jpg') center/cover, #121825;
  border: 1px solid rgba(255,193,7,.18);
  box-shadow: inset 0 0 0 1px rgba(255,193,7,.06);
}

/* News & sidebar panels */
.news-card, .side-card {
  background: #101620 url('/assets/img/panel-dark.png') top left/cover no-repeat;
  border: 1px solid rgba(255,193,7,.22);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.news-head, .side-head {
  background: linear-gradient(180deg, rgba(255,193,7,.10), rgba(255,193,7,.04));
  border-bottom: 1px solid rgba(255,193,7,.2);
}
.list-group-item.bg-dark-subtle { background: #1a2230 !important; color: #e2e8f0; }

/* Small avatar (reuses navbar style) */
.avatar-circle-sm {
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  background: #1e2635; color: #ffc107; font-weight: 700;
}

/* Improve secondary contrast in dark theme */
.text-secondary { color: #cbd5e1 !important; }
.bi { color: inherit !important; }

/* Buttons */
.btn-warning { font-weight: 700; border-radius: .6rem; }
.btn-outline-warning { border-width: 2px; }

/* Inputs on dark */
.bg-dark-subtle { background: #1a2230 !important; color: #e2e8f0 !important; border-color: rgba(255,193,7,.25) !important; }
