/*
 * Onyx Homepage – Fresh CSS written to match unbrandedtech-next visual design.
 * No code copied. All implementations written from scratch to achieve same effects.
 */

/* ── Max-width container ─────────────────────────────────────────── */

.middle {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1400px;
}

/* ── Gradient Masks ──────────────────────────────────────────────── */

.gradient-mask-b-70 {
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}

.gradient-mask-b-80 {
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
  mask-image: linear-gradient(180deg, #000 80%, transparent);
}

.gradient-mask-t-10 {
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent);
  mask-image: linear-gradient(0deg, #000 10%, transparent);
}

.gradient-mask-t-60-d {
  -webkit-mask-image: linear-gradient(0deg, transparent, #000 40%, #000 60%, transparent);
  mask-image: linear-gradient(0deg, transparent, #000 40%, #000 60%, transparent);
}

.gradient-mask-t-70-d {
  -webkit-mask-image: linear-gradient(0deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(0deg, transparent, #000 30%, #000 70%, transparent);
}

.gradient-mask-l-50-d {
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 50%, #000 0, transparent);
  mask-image: linear-gradient(270deg, transparent, #000 50%, #000 0, transparent);
}

.gradient-mask-l-60-d {
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 40%, #000 60%, transparent);
  mask-image: linear-gradient(270deg, transparent, #000 40%, #000 60%, transparent);
}

.gradient-mask-l-70-d {
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(270deg, transparent, #000 30%, #000 70%, transparent);
}

/* ── Marquee ─────────────────────────────────────────────────────── */

@keyframes marquee {
  0%  { transform: translateX(0); }
  to  { transform: translateX(calc(-100% - var(--gap, 1rem))); }
}

.animate-marquee {
  animation: marquee var(--duration, 15s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ── Ripple ──────────────────────────────────────────────────────── */

@keyframes ripple {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(0.9); }
}

.animate-ripple {
  animation: ripple var(--duration, 2s) ease var(--delay, 0s) infinite;
  will-change: transform;
  backface-visibility: hidden;
}

/* ── Blur background ─────────────────────────────────────────────── */

.blur-bg {
  will-change: filter;
  filter: blur(200px);
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── Dropdown animation ──────────────────────────────────────────── */

@keyframes dropdown-in {
  0%   { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.animate-dropdown-in {
  animation: dropdown-in 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top left;
}

/* ── Buttons (same pattern as unbrandedtech-next) ─────────────────── */

.ubt-btn-base {
  -webkit-user-select: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s;
  height: 2.25rem;
  padding: 0.25rem 1rem;
  text-decoration: none;
  gap: 0.25rem;
  border: 1px solid transparent;
  line-height: 1;
  cursor: pointer;
}

.ubt-btn-base:active {
  transform: scale(0.95);
}

/* White/primary button */
.ubt-btn-primary {
  background: #ffffff;
  color: #000000;
}

.ubt-btn-primary:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #000000;
}

/* Outline button */
.ubt-btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.ubt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Ghost button */
.ubt-btn-ghost {
  background: transparent;
  color: #ffffff;
}

.ubt-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ── Section Icon Box (border bg-white/5 border-white/10) ─────────── */

.section-icon-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

/* ── Feature card (MagicCard base) ────────────────────────────────── */

.magic-card-wrap {
  position: relative;
  height: 100%;
}

.magic-card-glow {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 0.75rem;
  opacity: 0;
  transition: opacity 300ms;
  background: radial-gradient(200px circle at var(--mx, -200px) var(--my, -200px), #262626, transparent 100%);
}

.magic-card-wrap:hover .magic-card-glow {
  opacity: 0.8;
}

/* ── Feature card inner ────────────────────────────────────────────── */

.feature-card-inner {
  position: relative;
  z-index: 10;
  border-radius: 0.75rem;
  transition: all 0.5s;
  cursor: pointer;
  transform: translateZ(0);
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.feature-card-inner:hover {
  color: inherit;
}

.feature-card-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: hidden;
}

.feature-card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-card-body {
  padding: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card-arrow {
  display: none;
  width: 1rem;
  height: 1rem;
}

.feature-card-inner:hover .feature-card-arrow {
  display: inline-block;
}

.feature-card-desc {
  font-size: 0.875rem;
  opacity: 0.5;
  line-height: 1.5;
}

/* ── Gradient placeholder card visuals (no screenshot available) ──── */

.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

/* ── Section heading (text-4xl font-medium flex flex-col gap-0.5) ── */

.section-heading {
  font-size: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-weight: 500;
}

.section-heading p {
  font-size: 0.875rem;
  width: 66.666%;
  margin-top: 1rem;
  opacity: 0.5;
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 2.25rem;
  }
  .section-heading p {
    font-size: 1rem;
    width: 100%;
    margin-top: 0;
    white-space: nowrap;
  }
}

/* ── Section isolation — prevent repaint cascading between sections ── */

.cta-block,
.relative.flex.items-center.h-40rem,
.relative.flex.items-center.h-40rem.lg-h-28rem,
.relative.flex-col.flex.gap-10 {
  isolation: isolate;
}

/* ── Feature detail section ─────────────────────────────────────── */

.feat-section {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 0.75rem;
  overflow: hidden;
}

/* ── Height utilities (arbitrary values not in old CSS) ──────────── */

.h-72    { height: 18rem; }
.h-96    { height: 24rem; }
.h-28rem { height: 28rem; }
.h-40rem { height: 40rem; }

@media (min-width: 1024px) {
  .lg-h-dvh  { height: 100dvh; }
  .lg-h-full { height: 100%; }
  .lg-h-28rem { height: 28rem; }
  .lg-h-580px { height: 580px; }
  .lg-h-800px { height: 800px; }
  .lg-h-half  { flex: 1 1 0%; min-height: 0; }
  .lg-w-third { width: 33.333%; }
  .lg-w-twothird { width: 66.666%; }
  .lg-flex-row { flex-direction: row; }
  .lg-flex-col { flex-direction: column; }
  .lg-items-center { align-items: center; }
  .lg-text-nowrap { white-space: nowrap; }
  .lg-text-base { font-size: 1rem; line-height: 1.5; }
  .lg-text-5xl { font-size: 3rem; }
  .lg-gap-0 { gap: 0; }
  .lg-gap-20 { gap: 5rem; }
  .lg-scale-125 { transform: scale(1.25); }
  .lg-scale-16 { transform: scale(1.6); }
  .lg-p-20 { padding: 5rem; }
  .lg-mt-0 { margin-top: 0; }
  .lg-block { display: block; }
  .lg-hidden { display: none; }
  .lg-object-right { object-position: right; }
  .lg-bottom-10 { bottom: -2.5rem; }
  .lg-right-0 { right: 0; }
  .lg-overflow-hidden { overflow: hidden; }
  .lg-absolute { position: absolute; }
  .lg-flex-row-imp { flex-direction: row !important; }
  .lg-w-half { width: 50%; }
}

/* ── CTA section ─────────────────────────────────────────────────── */

.cta-section {
  padding-top: 3rem;
}

.cta-block {
  position: relative;
  width: 100%;
  margin-bottom: 10rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4.25rem;
  min-height: 24rem;
  text-align: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .cta-title { font-size: 4.4rem; }
}

.cta-sub {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.75;
  width: 100%;
  max-width: 40rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .cta-sub { font-size: 1rem; }
}

/* ── Chevron icon helper ─────────────────────────────────────────── */

.chevron-icon {
  margin-left: 0.5rem;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

/* ── Utilities missing from compiled Tailwind ────────────────────── */

.gap-20  { gap: 5rem; }
.gap-10  { gap: 2.5rem; }
.pt-20   { padding-top: 5rem; }
.pt-24   { padding-top: 6rem; }
.-mt-20  { margin-top: -5rem; }
.-z-10   { z-index: -10; }

/* ── Misc fixes ─────────────────────────────────────────────────── */

/* shrink-0 equivalent */
.shrink-0 { flex-shrink: 0; }

/* object-contain object-center */
.obj-contain-center {
  object-fit: contain;
  object-position: center;
}

/* position helpers */
.inset-0-abs { position: absolute; inset: 0; }

/* ── Neon red grid card (Undetected) ─────────────────────────────── */

.neon-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,0,0,.06) 0%, transparent 65%);
  pointer-events: none;
  animation: neon-breathe 4s ease-in-out infinite;
  animation-play-state: paused;
  opacity: .75;
}

.magic-card-wrap:hover .neon-grid-bg::before {
  animation-play-state: running;
}

@keyframes neon-breathe {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

@keyframes neon-border-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,0,0,.12), inset 0 0 8px rgba(255,0,0,.04); }
  50%      { box-shadow: 0 0 20px rgba(255,0,0,.22), inset 0 0 16px rgba(255,0,0,.08); }
}

.neon-grid-bg svg line {
  animation: neon-line-fade 5s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.magic-card-wrap:hover .neon-grid-bg svg line {
  animation-play-state: running;
}

@keyframes neon-line-fade {
  0%   { stroke-opacity: .06; }
  50%  { stroke-opacity: .18; }
  100% { stroke-opacity: .06; }
}

/* ── Status Page (Gatus-inspired dashboard) ────────────────────── */

.status-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.status-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .status-hero {
    flex-direction: row;
    align-items: flex-end;
  }
}

.status-hero-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: .55rem;
}

.status-hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}

@media (min-width: 1024px) {
  .status-hero h1 { font-size: 2.4rem; }
}

.status-hero-desc {
  font-size: .92rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: .55rem;
  max-width: 32rem;
  line-height: 1.5;
}

.status-hero-aside {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.status-pill-live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.status-pill-live .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: status-live-pulse 1.8s ease-out infinite;
}

@keyframes status-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.status-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all .2s;
  cursor: pointer;
}

.status-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.status-icon-btn svg { width: 16px; height: 16px; }

/* Summary stats strip */
.status-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .status-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .status-summary { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.status-summary-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-summary-card .summary-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.summary-dot.ok { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, .5); }
.summary-dot.warn { background: #facc15; box-shadow: 0 0 8px rgba(234, 179, 8, .5); }
.summary-dot.risk { background: #fb923c; box-shadow: 0 0 8px rgba(249, 115, 22, .5); }
.summary-dot.update { background: #60a5fa; box-shadow: 0 0 8px rgba(59, 130, 246, .5); }
.summary-dot.fail { background: #f87171; box-shadow: 0 0 8px rgba(239, 68, 68, .5); }
.summary-dot.total { background: rgba(255, 255, 255, .8); box-shadow: 0 0 8px rgba(255, 255, 255, .25); }

.status-summary-card .summary-text {
  display: flex; flex-direction: column; gap: 1px;
  min-width: 0;
}

.status-summary-card .summary-num {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}

.status-summary-card .summary-lbl {
  font-size: .65rem;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Toolbar: search + filters */
.status-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  padding: .55rem .65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 1.1rem;
}

.status-search {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .8rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color .2s, background .2s;
}

.status-search:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.5);
}

.status-search svg { color: rgba(255, 255, 255, 0.4); flex-shrink: 0; }

.status-search input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: #fff; font-size: .85rem;
}

.status-search input::placeholder { color: rgba(255, 255, 255, 0.3); }

.status-filters {
  display: flex; gap: .65rem; align-items: center; flex-wrap: wrap;
}

.status-filter-item {
  display: inline-flex; align-items: center; gap: .45rem;
}

.status-filter-item label {
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: .03em;
}

.status-filter-select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: .78rem;
  padding: .42rem 1.85rem .42rem .7rem;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .55rem center;
  transition: border-color .2s, background-color .2s;
}

.status-filter-select:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.status-filter-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
}

.status-filter-select option { background: #0b0b0b; color: #fff; }

/* Card grid */
.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

@media (min-width: 720px) {
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.status-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  padding: 1.05rem 1.1rem 1rem;
  transition: border-color .25s, background .25s, transform .25s;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-decoration: none;
  color: inherit;
}

.status-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transform: translateY(-1px);
}

.status-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.status-card-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.status-card-sub {
  font-size: .76rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: .3rem;
  display: flex;
  gap: .4rem;
  align-items: center;
  flex-wrap: wrap;
}

.status-card-sub .sub-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-block;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid;
  text-transform: uppercase;
  flex-shrink: 0;
}

.status-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.status-pill.s-undetected { background: rgba(34, 197, 94, .1); color: #4ade80; border-color: rgba(34, 197, 94, .3); }
.status-pill.s-updating   { background: rgba(59, 130, 246, .1); color: #60a5fa; border-color: rgba(59, 130, 246, .3); }
.status-pill.s-detected   { background: rgba(239, 68, 68, .1); color: #f87171; border-color: rgba(239, 68, 68, .35); }
.status-pill.s-testing    { background: rgba(234, 179, 8, .1); color: #facc15; border-color: rgba(234, 179, 8, .3); }
.status-pill.s-own-risk   { background: rgba(249, 115, 22, .1); color: #fb923c; border-color: rgba(249, 115, 22, .3); }

/* Uptime bars */
.uptime-bars {
  display: flex;
  gap: 2px;
  align-items: stretch;
  height: 38px;
}

.uptime-bar {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px;
  transition: transform .15s ease, filter .15s ease;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  cursor: default;
}

.uptime-bar:hover {
  transform: scaleY(1.08);
  filter: brightness(1.25);
}

.uptime-bar.b-ok     { background: #22c55e; }
.uptime-bar.b-warn   { background: #facc15; }
.uptime-bar.b-fail   { background: #ef4444; }
.uptime-bar.b-update { background: #3b82f6; }
.uptime-bar.b-risk   { background: #f97316; }

.uptime-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.42);
  gap: .5rem;
}

.uptime-meta .meta-strong { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.uptime-meta .meta-right { text-align: right; }

.status-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.42);
}

.status-card-foot .price { color: #fff; font-weight: 600; }

.status-card-foot a {
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  text-decoration: none;
  transition: color .2s;
}

.status-card-foot a:hover { color: #fff; }

/* Empty state */
.status-empty {
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
  padding: 4rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: .92rem;
}

.status-empty.hidden-empty { display: none; }

/* Footer note */
.status-foot-note {
  margin-top: 2rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── Shop / Products Listing ───────────────────────────────────── */

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px){ .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, transform .25s, background .25s, box-shadow .25s;
}

.shop-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.shop-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.4));
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.shop-card:hover .shop-card-media img { transform: scale(1.04); }

.shop-card-media-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.18);
}

.shop-card-featured {
  position: absolute;
  top: .6rem;
  left: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #3b82f6;
  color: #fff;
  border: 1px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(8px);
}

.shop-card-ac {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-card-ac svg {
  width: 11px; height: 11px;
  color: #4ade80;
}

.shop-card-body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}

.shop-card-name {
  font-size: .98rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.005em;
  line-height: 1.2;
}

.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-card-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.shop-card-price .price-lbl {
  font-size: .62rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.shop-card-price .price-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #60a5fa;
}

.shop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .42rem .75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all .2s;
}

.shop-card:hover .shop-card-cta {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

/* ── Product Detail Page ───────────────────────────────────────── */

.product-detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: color .2s;
}

.product-back:hover { color: #fff; }
.product-back svg { width: 14px; height: 14px; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.25rem;
  }
}

.product-media-col {
  position: sticky;
  top: 5rem;
}

@media (max-width: 1023px) {
  .product-media-col { position: static; }
}

.product-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.4));
}

.product-media-frame img,
.product-media-frame video,
.product-media-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-media-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
}

.product-media-status {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 5;
}

.product-media-price {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}

.product-media-price .lbl {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-size: .7rem;
}

.product-media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.product-media-nav:hover { background: rgba(0, 0, 0, 0.75); color: #fff; }
.product-media-nav.prev { left: .8rem; }
.product-media-nav.next { right: .8rem; }
.product-media-nav svg { width: 16px; height: 16px; }

.product-thumbs {
  margin-top: .8rem;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
}

.product-thumb {
  flex: 0 0 auto;
  width: 86px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  padding: 0;
}

.product-thumb:hover { border-color: rgba(255, 255, 255, 0.25); }

.product-thumb.active {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-thumb-video {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.15));
  color: #c4b5fd;
}

.product-thumb-video svg { width: 18px; height: 18px; }

/* Right column */
.product-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card-block {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  padding: 1.5rem;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .35rem;
}

.product-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .product-title { font-size: 2rem; }
}

.product-price-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .product-price-display { font-size: 1.75rem; }
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.55);
}

.product-rating .stars {
  display: inline-flex;
  gap: 1px;
}

.product-rating svg {
  width: 14px; height: 14px;
}

.product-rating .star-on { color: #facc15; fill: #facc15; }
.product-rating .star-off { color: rgba(255, 255, 255, 0.15); fill: rgba(255, 255, 255, 0.15); }

.product-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Rich, full-length product description block (rendered from admin RTE) */
.product-desc-block .feature-block-title { margin-bottom: 1rem; }
.product-desc-rich {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  line-height: 1.7;
  letter-spacing: -.005em;
  word-break: break-word;
}
.product-desc-rich > *:first-child { margin-top: 0; }
.product-desc-rich > *:last-child { margin-bottom: 0; }
.product-desc-rich p {
  margin: 0 0 .9em;
  color: rgba(255, 255, 255, .72);
}
.product-desc-rich h1,
.product-desc-rich h2,
.product-desc-rich h3,
.product-desc-rich h4,
.product-desc-rich h5,
.product-desc-rich h6 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 1.2em 0 .55em;
  line-height: 1.25;
}
.product-desc-rich h1 { font-size: 1.5rem; }
.product-desc-rich h2 { font-size: 1.2rem; }
.product-desc-rich h3 { font-size: 1.05rem; }
.product-desc-rich h4 { font-size: .98rem; }
.product-desc-rich h5 { font-size: .9rem; opacity: .9; }
.product-desc-rich h6 { font-size: .82rem; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.product-desc-rich strong, .product-desc-rich b { color: #fff; font-weight: 700; }
.product-desc-rich em, .product-desc-rich i { color: rgba(255, 255, 255, .9); }
.product-desc-rich s, .product-desc-rich strike { color: rgba(255, 255, 255, .4); }
.product-desc-rich a {
  color: #60a5fa;
  text-decoration: underline;
  text-decoration-color: rgba(96, 165, 250, .35);
  text-underline-offset: 2px;
  transition: color .15s, text-decoration-color .15s;
}
.product-desc-rich a:hover { color: #93c5fd; text-decoration-color: #93c5fd; }
.product-desc-rich ul, .product-desc-rich ol {
  margin: 0 0 .9em;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, .72);
}
.product-desc-rich li { margin: .25em 0; }
.product-desc-rich ul li::marker { color: rgba(96, 165, 250, .55); }
.product-desc-rich ol li::marker { color: rgba(96, 165, 250, .65); font-weight: 600; }
.product-desc-rich blockquote {
  margin: 0 0 .9em;
  padding: .55rem .85rem;
  border-left: 3px solid rgba(96, 165, 250, .45);
  background: rgba(59, 130, 246, .035);
  border-radius: 0 6px 6px 0;
  color: rgba(255, 255, 255, .8);
  font-style: italic;
}
.product-desc-rich code {
  background: rgba(255, 255, 255, .05);
  padding: .08rem .35rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .82em;
  color: #c4b5fd;
}
.product-desc-rich pre {
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .05);
  padding: .85rem 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .82em;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 .9em;
}
.product-desc-rich pre code { background: transparent; padding: 0; color: inherit; }
.product-desc-rich hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 1.4em 0; }

.product-section-lbl {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: .65rem;
  display: block;
}

.variant-grid {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.1rem;
}

.variant-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.022);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: left;
}

.variant-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.variant-btn.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45) inset;
}

.variant-btn.active .v-price { color: #60a5fa; }

.variant-btn .v-name {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
}

.variant-btn .v-sub {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
  display: block;
}

.variant-btn .v-price {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.6);
}

.trust-item svg { width: 14px; height: 14px; color: #4ade80; }

.product-cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  height: 40px;
  padding: 0 1.1rem;
  border-radius: 9px;
  background: #3b82f6;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1px solid rgba(96, 165, 250, 0.4);
  cursor: pointer;
  transition: background .2s, transform .15s, border-color .2s;
}

.product-cta:hover {
  background: #2563eb;
  border-color: rgba(96, 165, 250, 0.6);
}
.product-cta:active { transform: scale(0.98); }
.product-cta svg { width: 14px; height: 14px; }

/* Feature / Supported blocks */
.feature-block-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.feature-block-title svg { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.55); }

.feature-cat {
  margin-bottom: 1.1rem;
}

.feature-cat:last-child { margin-bottom: 0; }

.feature-cat-name {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: .55rem;
  display: block;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
}

@media (min-width: 640px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.7);
}

.feature-list li svg {
  width: 13px; height: 13px;
  color: #4ade80;
  flex-shrink: 0;
}

/* Related */
.related-section {
  margin-top: 2.5rem;
}

.related-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

@media (min-width: 720px)  { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.related-card {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}

.related-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.related-card h4 {
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .25rem;
}

.related-card p {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 404-style */
.product-missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  gap: 1rem;
  padding: 2rem 1.5rem;
}

.product-missing h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.product-missing p { color: rgba(255, 255, 255, 0.5); }

/* ── FAQ Page ───────────────────────────────────────────────── */

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.faq-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.faq-card.open {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.025);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  transition: color .2s;
}

.faq-q:hover { color: #fff; }

.faq-q .faq-chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  transition: transform .25s ease, color .2s;
}

.faq-card.open .faq-q .faq-chev {
  transform: rotate(180deg);
  color: #60a5fa;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-card.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 1.15rem 1.05rem;
  font-size: .85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: .85rem;
  margin-top: -.05rem;
}

.faq-card:not(.open) .faq-a-inner { border-top-color: transparent; }

/* FAQ bottom CTA */
.faq-cta {
  margin-top: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  padding: 2rem 1.5rem;
  text-align: center;
}

.faq-cta h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .4rem;
}

.faq-cta p {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 28rem;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.15rem;
  height: 38px;
  border-radius: 9px;
  background: #3b82f6;
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(96, 165, 250, 0.4);
  transition: background .2s, border-color .2s;
}

.faq-cta-btn:hover {
  background: #2563eb;
  border-color: rgba(96, 165, 250, 0.6);
}

.faq-cta-btn svg { width: 15px; height: 15px; }

/* ── Hamburger button + mobile menu (header) ─────────────────── */

.nav-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-hamburger-box {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
}

.nav-hamburger-bar {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), opacity .2s ease, top .3s cubic-bezier(.2,.7,.3,1);
}

.nav-hamburger-bar:nth-child(1) { top: 0; }
.nav-hamburger-bar:nth-child(2) { top: 6px; }
.nav-hamburger-bar:nth-child(3) { top: 12px; }

.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile menu */
.nav-mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: rgba(8, 10, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  overflow-y: auto;
}

.nav-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-mobile-menu nav a {
  display: flex;
  align-items: center;
  padding: .85rem 1rem;
  font-size: .95rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.nav-mobile-menu nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-mobile-menu .mobile-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: .65rem 0;
}

.nav-mobile-menu .mobile-signup {
  background: #fff !important;
  color: #000 !important;
  font-weight: 600;
  justify-content: center;
  margin-top: .35rem;
}

.nav-mobile-menu .mobile-signup:hover {
  background: rgba(255, 255, 255, 0.85) !important;
}

.nav-mobile-menu .mobile-logout { color: #f87171 !important; }
.nav-mobile-menu .mobile-logout:hover { background: rgba(239, 68, 68, 0.1) !important; }

@media (min-width: 768px) {
  .nav-mobile-menu { display: none !important; }
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
  .nav-hamburger { display: none !important; }
}

/* ── Dashboard Page (clean, minimalist — matches home/login/register) ── */

.dash-wrap {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

/* Page wrapper: solid black, no busy grid, just like login/register */
.dash-page-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 4rem;
  min-height: 100vh;
  background: #050507;
}

.dash-page-section::before { content: none; }
.dash-page-section::after { content: none; }

/* Hero: welcome message — quiet, not loud */
.dash-hero {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dash-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dash-eyebrow {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: .55rem;
}

.dash-greeting {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) { .dash-greeting { font-size: 1.85rem; } }

.dash-greeting-name { color: #60a5fa; }

.dash-sub {
  margin-top: .5rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.45);
}

.dash-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Role pill — kept tiny, integrated */
.dash-role-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid;
}

.dash-role-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.dash-role-pill.r-owner    { background: rgba(239, 68, 68, .1); color: #f87171; border-color: rgba(239, 68, 68, .3); }
.dash-role-pill.r-admin    { background: rgba(249, 115, 22, .1); color: #fb923c; border-color: rgba(249, 115, 22, .3); }
.dash-role-pill.r-priv     { background: rgba(168, 85, 247, .1); color: #c084fc; border-color: rgba(168, 85, 247, .3); }
.dash-role-pill.r-customer { background: rgba(34, 197, 94, .1); color: #4ade80; border-color: rgba(34, 197, 94, .3); }
.dash-role-pill.r-reseller { background: rgba(34, 211, 238, .1); color: #67e8f9; border-color: rgba(34, 211, 238, .3); }
.dash-role-pill.r-default  { background: rgba(59, 130, 246, .1); color: #60a5fa; border-color: rgba(59, 130, 246, .3); }

/* Action buttons */
.dash-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 .9rem;
  height: 36px;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  transition: background .2s, border-color .2s;
}

.dash-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.dash-action-btn svg { width: 14px; height: 14px; }

.dash-action-btn.primary {
  background: #3b82f6;
  border-color: rgba(96, 165, 250, 0.4);
  color: #fff;
}
.dash-action-btn.primary:hover { background: #2563eb; }

/* Stat cards — refined */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px) { .dash-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.dash-stat {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.005));
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.dash-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-stat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dash-stat-icon svg { width: 15px; height: 15px; }

.dash-stat-icon.blue   { background: rgba(59, 130, 246, .12);  color: #60a5fa; }
.dash-stat-icon.green  { background: rgba(34, 197, 94, .12);   color: #4ade80; }
.dash-stat-icon.purple { background: rgba(168, 85, 247, .12);  color: #c084fc; }
.dash-stat-icon.amber  { background: rgba(245, 158, 11, .12);  color: #fbbf24; }

.dash-stat-trend {
  font-size: .65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}

.dash-stat-trend.up { color: #4ade80; }
.dash-stat-trend.down { color: #f87171; }

.dash-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.015em;
  line-height: 1;
}

.dash-stat-lbl {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: .04em;
  margin-top: .3rem;
}

/* Activity chart */
.dash-chart {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.005));
  padding: 1.25rem 1.4rem 1.1rem;
  margin-bottom: 1.25rem;
}

.dash-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.dash-chart-title {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.dash-chart-title h3 {
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.005em;
}

.dash-chart-title .meta {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.4);
}

.dash-chart-summary {
  text-align: right;
}

.dash-chart-summary .num {
  font-size: 1.4rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: -.01em;
  line-height: 1;
}

.dash-chart-summary .lbl {
  font-size: .65rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: .04em;
  margin-top: .25rem;
  text-transform: uppercase;
}

.dash-chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5rem;
  align-items: end;
  height: 140px;
  position: relative;
}

.dash-chart-bars::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 25%;
  pointer-events: none;
}

.dash-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  height: 100%;
  position: relative;
}

.dash-chart-bar {
  width: 100%;
  max-width: 32px;
  margin-top: auto;
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: filter .2s, transform .15s;
  min-height: 2px;
}

.dash-chart-col:hover .dash-chart-bar {
  filter: brightness(1.2);
}

.dash-chart-bar.is-zero {
  background: rgba(255, 255, 255, 0.04);
  min-height: 4px;
}

.dash-chart-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem .5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: .68rem;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}

.dash-chart-col:hover .dash-chart-bar-tooltip { opacity: 1; }

.dash-chart-day {
  font-size: .65rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: .03em;
  text-transform: uppercase;
  z-index: 1;
}

/* 2-column layout */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 1000px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

/* Cards */
.dash-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.005));
  overflow: hidden;
}

.dash-card-head {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dash-card-head h3 {
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .005em;
}

.dash-card-head .head-meta {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.4);
}

.dash-card-body { padding: 1.1rem 1.2rem; }

/* Account info rows */
.dash-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 0;
  font-size: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-info-row:first-child { padding-top: 0; }
.dash-info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-info-row .lbl { color: rgba(255, 255, 255, 0.45); }
.dash-info-row .val { color: #fff; font-weight: 500; }
.dash-info-row .val.accent { color: #60a5fa; font-weight: 600; }

/* Order row */
.dash-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background .2s, border-color .2s;
}

.dash-order:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
}

.dash-order + .dash-order { margin-top: .55rem; }

.dash-order .o-name { font-size: .88rem; font-weight: 600; color: #fff; }
.dash-order .o-date { font-size: .72rem; color: rgba(255, 255, 255, 0.4); margin-top: .2rem; }
.dash-order .o-price { font-size: .92rem; font-weight: 700; color: #fff; text-align: right; }
.dash-order .o-status {
  display: inline-block;
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .15rem .5rem;
  border-radius: 999px;
  margin-top: .3rem;
}

.dash-order .o-status.completed { background: rgba(34,197,94,.13); color: #4ade80; }
.dash-order .o-status.pending   { background: rgba(234,179,8,.13);  color: #facc15; }
.dash-order .o-status.failed    { background: rgba(239,68,68,.13);  color: #f87171; }

/* Empty state */
.dash-empty {
  text-align: center;
  padding: 2rem 1rem 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: .85rem;
}

.dash-empty .empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .6rem;
  color: rgba(255, 255, 255, 0.3);
}

.dash-empty .empty-icon svg { width: 18px; height: 18px; }

/* Alert */
.dash-alert {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  font-size: .82rem;
  margin-bottom: 1.2rem;
  border: 1px solid;
}

.dash-alert svg { width: 16px; height: 16px; flex-shrink: 0; }
.dash-alert.green { background: rgba(34, 197, 94, .08); color: #86efac; border-color: rgba(34, 197, 94, .25); }
.dash-alert.red   { background: rgba(239, 68, 68, .08); color: #fca5a5; border-color: rgba(239, 68, 68, .25); }

/* ── Loader Panel (redesigned to match) ──────────────────── */

.dash-loader {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.005));
  overflow: hidden;
}

.dash-loader-head {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

@media (min-width: 600px) {
  .dash-loader-head { flex-direction: row; align-items: center; justify-content: space-between; }
}

.dash-loader-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
}

.dash-loader-title .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.dash-loader-title .live-dot.online {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, .6);
  animation: status-live-pulse 1.8s ease-out infinite;
}

.dash-loader-counts {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.dash-counter {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .03em;
  border: 1px solid;
  font-variant-numeric: tabular-nums;
}

.dash-counter.online { background: rgba(34,197,94,.1); color: #4ade80; border-color: rgba(34,197,94,.3); }
.dash-counter.active { background: rgba(59,130,246,.1); color: #60a5fa; border-color: rgba(59,130,246,.3); }

/* Tabs */
.dash-tabs {
  display: flex;
  gap: .25rem;
  padding: .65rem 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-tab {
  background: transparent;
  border: 0;
  padding: .6rem .9rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
  transition: color .2s;
}

.dash-tab:hover { color: rgba(255, 255, 255, 0.8); }

.dash-tab.is-active { color: #60a5fa; }

.dash-tab.is-active::after {
  content: '';
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: -1px;
  height: 2px;
  background: #60a5fa;
  border-radius: 2px 2px 0 0;
}

.dash-tab-count {
  display: inline-block;
  margin-left: .35rem;
  padding: 0 .35rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 600;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.dash-tab-panel { padding: 1.2rem; }
.dash-tab-panel.is-hidden { display: none; }

/* PC card */
.dash-pc {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .2s, border-color .2s;
}

.dash-pc + .dash-pc { margin-top: .65rem; }

.dash-pc:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
}

.dash-pc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.dash-pc-info {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
}

.dash-pc-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, .1);
  color: #60a5fa;
  flex-shrink: 0;
}

.dash-pc-icon svg { width: 16px; height: 16px; }

.dash-pc-name {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.005em;
}

.dash-pc-status-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .25rem;
  flex-wrap: wrap;
}

.dash-pc-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dash-pc-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.dash-pc-status.injected { background: rgba(34,197,94,.12); color: #4ade80; }
.dash-pc-status.online   { background: rgba(59,130,246,.12); color: #60a5fa; }
.dash-pc-status.injected::before, .dash-pc-status.online::before {
  box-shadow: 0 0 4px currentColor;
}
.dash-pc-status.offline  { background: rgba(255,255,255,.04); color: rgba(255,255,255,0.45); }

.dash-pc-owner {
  font-size: .68rem;
  color: rgba(255, 255, 255, 0.4);
}

.dash-pc-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .68rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  white-space: nowrap;
}

.dash-pc-unlink {
  background: transparent;
  border: 0;
  padding: .35rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color .2s;
}

.dash-pc-unlink:hover { color: #f87171; }
.dash-pc-unlink svg { width: 14px; height: 14px; }

.dash-pc-actions {
  display: flex;
  gap: .4rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  height: 32px;
  padding: 0 .8rem;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 500;
  border: 1px solid;
  cursor: pointer;
  transition: filter .2s, background .2s;
}

.dash-mini-btn svg { width: 12px; height: 12px; }

.dash-mini-btn.green  { background: rgba(34,197,94,.1); color: #4ade80; border-color: rgba(34,197,94,.3); flex: 1; }
.dash-mini-btn.purple { background: rgba(168,85,247,.1); color: #c084fc; border-color: rgba(168,85,247,.3); flex: 1; }
.dash-mini-btn.blue   { background: rgba(59,130,246,.1); color: #60a5fa; border-color: rgba(59,130,246,.3); }
.dash-mini-btn.orange { background: rgba(249,115,22,.1); color: #fb923c; border-color: rgba(249,115,22,.3); }
.dash-mini-btn:hover  { filter: brightness(1.18); }

/* Activate form */
.dash-activate {
  max-width: 28rem;
  margin: 0 auto;
}

.dash-activate-head {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.dash-activate-head h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.dash-activate-head p {
  font-size: .875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin: 0;
}

.dash-form { display: flex; flex-direction: column; gap: 1rem; }

.dash-form-group { display: flex; flex-direction: column; gap: .25rem; }

.dash-form-group label {
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
}

.dash-input {
  display: flex;
  width: 100%;
  height: 2rem;
  padding: .25rem .75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: .375rem;
  color: #fff;
  font-size: .875rem;
  transition: border-color .2s, box-shadow .2s;
}

.dash-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.dash-input::placeholder { color: rgba(255, 255, 255, 0.35); font-size: .75rem; }

.dash-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  height: 2rem;
  border-radius: .375rem;
  background: #3b82f6;
  color: #fff;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: .25rem;
  transition: background .2s;
}

.dash-submit:hover { background: #2563eb; }
.dash-submit svg { width: 13px; height: 13px; }

/* Logs panel */
.dash-logs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}

.dash-logs-head .lbl {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.dash-logs-head .ind {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .65rem;
  color: rgba(255, 255, 255, 0.45);
}

.dash-logs-head .ind .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, .6);
  animation: status-live-pulse 1.8s ease-out infinite;
}

.dash-logs-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  max-height: 320px;
  overflow-y: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .72rem;
  padding: .85rem 1rem;
}

.dash-log-line {
  display: flex;
  gap: .5rem;
  padding: .15rem 0;
  color: rgba(255, 255, 255, 0.6);
}

.dash-log-line .t   { color: rgba(255, 255, 255, 0.3); flex-shrink: 0; }
.dash-log-line .pc  { color: #c084fc; flex-shrink: 0; }
.dash-log-line .m   { color: rgba(255, 255, 255, 0.7); }
.dash-log-line.err  .m { color: #f87171; }
.dash-log-line.ok   .m { color: #4ade80; }
.dash-log-line.info .m { color: #60a5fa; }
.dash-log-line.warn .m { color: #fb923c; }

/* Theme token fallbacks (used by dashboard's existing Tailwind-style classes).
   Scoped under .dash-wrap so they don't bleed elsewhere. */
.dash-wrap .text-foreground          { color: #fff; }
.dash-wrap .text-muted-foreground    { color: rgba(255, 255, 255, 0.5); }
.dash-wrap .text-primary             { color: #60a5fa; }
.dash-wrap .text-primary\/60         { color: rgba(96, 165, 250, 0.6); }
.dash-wrap .text-foreground\/80      { color: rgba(255, 255, 255, 0.8); }
.dash-wrap .text-muted-foreground\/50 { color: rgba(255, 255, 255, 0.3); }
.dash-wrap .text-muted-foreground\/60 { color: rgba(255, 255, 255, 0.4); }
.dash-wrap .bg-card                  { background: rgba(255, 255, 255, 0.025); }
.dash-wrap .bg-card\/50              { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)); }
.dash-wrap .bg-background            { background: #000; }
.dash-wrap .bg-background\/30        { background: rgba(0, 0, 0, 0.4); }
.dash-wrap .bg-background\/50        { background: rgba(0, 0, 0, 0.5); }
.dash-wrap .bg-muted                 { background: rgba(255, 255, 255, 0.04); }
.dash-wrap .bg-muted\/10             { background: rgba(255, 255, 255, 0.018); }
.dash-wrap .bg-muted\/20             { background: rgba(255, 255, 255, 0.025); }
.dash-wrap .bg-muted\/30             { background: rgba(255, 255, 255, 0.04); }
.dash-wrap .bg-muted\/50             { background: rgba(255, 255, 255, 0.05); }
.dash-wrap .bg-primary\/10           { background: rgba(59, 130, 246, 0.1); }
.dash-wrap .bg-primary\/20           { background: rgba(59, 130, 246, 0.2); }
.dash-wrap .border-border            { border-color: rgba(255, 255, 255, 0.08); }
.dash-wrap .border-border\/20        { border-color: rgba(255, 255, 255, 0.05); }
.dash-wrap .border-border\/30        { border-color: rgba(255, 255, 255, 0.07); }
.dash-wrap .border-border\/50        { border-color: rgba(255, 255, 255, 0.08); }
.dash-wrap .border-primary\/20       { border-color: rgba(59, 130, 246, 0.25); }
.dash-wrap .border-primary\/30       { border-color: rgba(59, 130, 246, 0.35); }
.dash-wrap .border-primary\/50       { border-color: rgba(59, 130, 246, 0.5); }
.dash-wrap .ring-primary\/20         { --tw-ring-color: rgba(59, 130, 246, 0.2); }
.dash-wrap .placeholder-muted-foreground\/50::placeholder { color: rgba(255, 255, 255, 0.3); }
.dash-wrap .focus\:border-primary\/50:focus { border-color: rgba(59, 130, 246, 0.5); }
.dash-wrap .focus\:ring-primary\/20:focus   { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); }

