/* =====================================================
   Dalvox Capital — Cookie Consent Banner
   ===================================================== */

#dvx-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  max-width: 720px;
  width: calc(100% - 40px);
  background: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.6);
  padding: 18px 26px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
#dvx-consent.dvx-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
#dvx-consent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
}
#dvx-consent .dvx-text { flex: 1; min-width: 0; }
#dvx-consent .dvx-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 6px;
}
#dvx-consent p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
#dvx-consent a {
  color: #D4AF37;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
  text-underline-offset: 2px;
}
#dvx-consent a:hover { text-decoration-color: #D4AF37; }
#dvx-consent .dvx-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#dvx-consent button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}
#dvx-consent .dvx-accept {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 8px;
  background: #D4AF37;
  color: #000;
  transition: background 0.25s;
}
#dvx-consent .dvx-accept:hover { background: #e8c760; }
#dvx-consent .dvx-decline {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.25s, color 0.25s;
}
#dvx-consent .dvx-decline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Reopen icon — shown after a decision is made */
#dvx-consent-reopen {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9998;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s;
}
#dvx-consent-reopen.dvx-shown { display: flex; }
#dvx-consent-reopen:hover { opacity: 1; }
#dvx-consent-reopen svg { width: 16px; height: 16px; stroke: #D4AF37; }

/* ── Light mode ── */
html.light #dvx-consent {
  background: rgba(248, 247, 244, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
}
html.light #dvx-consent p { color: rgba(60, 59, 63, 0.85); }
html.light #dvx-consent .dvx-decline {
  color: rgba(60, 59, 63, 0.75);
  border-color: rgba(0, 0, 0, 0.15);
}
html.light #dvx-consent .dvx-decline:hover {
  border-color: rgba(0, 0, 0, 0.3);
  color: #3C3B3F;
}
html.light #dvx-consent-reopen {
  background: rgba(248, 247, 244, 0.95);
  border-color: rgba(212, 175, 55, 0.4);
}

@media (max-width: 640px) {
  #dvx-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    left: 50%;
    width: calc(100% - 24px);
    max-width: 460px;
    bottom: 12px;
  }
  #dvx-consent .dvx-actions { flex-shrink: 1; }
}
@media (max-width: 420px) {
  #dvx-consent-reopen { left: 12px; bottom: 12px; }
}
