:root {
  --cv3dp-bg: #f8fafc;
  --cv3dp-ink: #1e293b;
  --cv3dp-panel: #ffffff;
  --cv3dp-primary: #2563eb;
  --cv3dp-primary-2: #1d4ed8;
  --cv3dp-muted: #64748b;
  --cv3dp-border: #e2e8f0;
  --cv3dp-dark: #0f172a;
}

.cv3dp-unified-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #0b1220 0%, #0f172a 45%, #1e293b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

.cv3dp-unified-header .cv3dp-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cv3dp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.cv3dp-brand img {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
}

.cv3dp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.cv3dp-brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.cv3dp-brand-text span {
  font-size: 0.72rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cv3dp-unified-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cv3dp-unified-nav a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.cv3dp-unified-nav a:hover,
.cv3dp-unified-nav a.active {
  color: #fff;
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(30, 41, 59, 0.6);
}

.cv3dp-unified-footer {
  margin-top: 40px;
  background: linear-gradient(90deg, #0b1220 0%, #0f172a 45%, #1e293b 100%);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cv3dp-unified-footer .cv3dp-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.cv3dp-unified-footer a {
  color: #93c5fd;
  text-decoration: none;
}

.cv3dp-unified-footer a:hover {
  text-decoration: underline;
}

.cv3dp-admin-tag {
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #dbeafe;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .cv3dp-brand img { height: 44px; }
  .cv3dp-brand-text strong { font-size: 0.88rem; }
  .cv3dp-brand-text span { font-size: 0.64rem; }
  .cv3dp-unified-nav { width: 100%; justify-content: flex-start; }
  .cv3dp-unified-nav a { font-size: 0.74rem; padding: 6px 8px; }
  .cv3dp-unified-header .cv3dp-shell { padding: 8px 12px; }
  .cv3dp-unified-footer .cv3dp-shell { padding: 12px; font-size: 0.78rem; }
}
