#dkConsentOverlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.3);
  display: none;
}
#dkConsentOverlay.is-open { display: block; }

#dkConsentBanner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  display: none;
}
#dkConsentBanner.is-open { display: block; }

#dkConsentBanner .dk-consent-panel {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.2);
  padding: 24px 28px;
  text-align: center;
}

#dkConsentBanner .dk-consent-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

#dkConsentBanner .dk-consent-text { color: #1e293b; max-width: 520px; }
#dkConsentBanner .dk-consent-title { font-size: 17px; font-weight: 700; margin: 0 0 6px 0; color: #0f172a; }
#dkConsentBanner .dk-consent-desc { font-size: 14px; margin: 0; color: #475569; line-height: 1.5; }

#dkConsentBanner .dk-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

#dkConsentBanner .dk-btn,
#dkConsentDrawer .dk-btn {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #334155;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
  line-height: 1.4;
}
#dkConsentBanner .dk-btn:hover,
#dkConsentDrawer .dk-btn:hover { background: #f8fafc; border-color: #94a3b8; }

#dkConsentBanner .dk-btn--primary,
#dkConsentDrawer .dk-btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
#dkConsentBanner .dk-btn--primary:hover,
#dkConsentDrawer .dk-btn--primary:hover { background: #1d4ed8; border-color: #1d4ed8; }

#dkConsentBanner .dk-btn--ghost,
#dkConsentDrawer .dk-btn--ghost {
  background: transparent;
  border-color: #cbd5e1;
  color: #64748b;
}
#dkConsentBanner .dk-btn--ghost:hover,
#dkConsentDrawer .dk-btn--ghost:hover { background: #f1f5f9; color: #334155; }

#dkConsentDrawer {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10000;
  display: none;
}
#dkConsentDrawer.is-open { display: block; }

#dkConsentDrawer .dk-drawer-panel {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

#dkConsentDrawer .dk-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

#dkConsentDrawer .dk-drawer-body { padding: 16px 20px; color: #1e293b; }

#dkConsentDrawer .dk-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
}
#dkConsentDrawer .dk-toggle-row:first-child { border-top: 0; }

#dkConsentDrawer .dk-toggle-meta strong { display: block; font-size: 14px; color: #0f172a; font-weight: 700; }
#dkConsentDrawer .dk-toggle-meta span { display: block; font-size: 13px; color: #64748b; margin-top: 2px; font-weight: 400; }

#dkConsentDrawer .dk-switch { position: relative; width: 46px; height: 28px; flex-shrink: 0; display: inline-block; }
#dkConsentDrawer .dk-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
#dkConsentDrawer .dk-switch .track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
#dkConsentDrawer .dk-switch .thumb {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
  transition: left 0.15s ease;
}
#dkConsentDrawer .dk-switch input:checked + .track { background: #2563eb; border-color: #2563eb; }
#dkConsentDrawer .dk-switch input:checked + .track .thumb { left: 22px; }

#dkConsentDrawer .dk-drawer-foot {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 20px 18px 20px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
  #dkConsentBanner .dk-consent-row { gap: 12px; }
  #dkConsentBanner .dk-consent-actions { width: 100%; }
  #dkConsentBanner .dk-consent-actions .dk-btn,
  #dkConsentDrawer .dk-drawer-foot .dk-btn { width: 100%; }
  #dkConsentBanner .dk-consent-panel { padding: 16px; }
}
