/* VF / SILOCK cookie consent — PECR-style banner (accept + reject equal) */
.vf-consent-root {
  --vf-c-bg: rgba(4, 12, 14, 0.96);
  --vf-c-border: rgba(47, 216, 168, 0.35);
  --vf-c-text: rgba(232, 248, 242, 0.94);
  --vf-c-muted: rgba(180, 210, 200, 0.78);
  --vf-c-jade: #3dcaa0;
  --vf-c-jade-dim: rgba(61, 202, 160, 0.15);
  position: fixed;
  z-index: 99999;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.vf-consent-root[hidden] { display: none !important; }

.vf-consent-panel {
  pointer-events: auto;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid var(--vf-c-border);
  background: var(--vf-c-bg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--vf-c-text);
}
.vf-consent-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.vf-consent-text {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--vf-c-muted);
}
.vf-consent-text a {
  color: #9df0d2;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vf-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.vf-consent-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.vf-consent-btn:focus-visible {
  outline: 2px solid var(--vf-c-jade);
  outline-offset: 2px;
}
.vf-consent-btn-accept {
  background: var(--vf-c-jade);
  color: #031210;
  border-color: var(--vf-c-jade);
}
.vf-consent-btn-accept:hover { filter: brightness(1.06); }
.vf-consent-btn-reject {
  background: transparent;
  color: var(--vf-c-text);
  border-color: rgba(180, 210, 200, 0.45);
}
.vf-consent-btn-reject:hover {
  border-color: rgba(180, 210, 200, 0.75);
  background: rgba(255, 255, 255, 0.04);
}
.vf-consent-btn-manage {
  background: var(--vf-c-jade-dim);
  color: #9df0d2;
  border-color: rgba(47, 216, 168, 0.35);
  margin-left: auto;
}
.vf-consent-prefs {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(47, 216, 168, 0.16);
}
.vf-consent-prefs[hidden] { display: none !important; }
.vf-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.55rem 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--vf-c-muted);
}
.vf-consent-row strong {
  display: block;
  color: var(--vf-c-text);
  font-size: 0.84rem;
  margin-bottom: 0.1rem;
}
.vf-consent-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--vf-c-jade);
  flex-shrink: 0;
}
.vf-consent-row.locked input { opacity: 0.55; cursor: not-allowed; }
.vf-consent-save {
  margin-top: 0.65rem;
}
/* Floating cookie chip removed — reopen via Cookie Policy page / VFConsent.open() */
.vf-consent-fab { display: none !important; }
@media (max-width: 560px) {
  .vf-consent-btn-manage { margin-left: 0; width: 100%; }
  .vf-consent-actions { flex-direction: column; align-items: stretch; }
  .vf-consent-btn { width: 100%; text-align: center; }
}
