
.cookie-pref-link {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  border: none;
  border-radius: 999px;
  background: #1a365d;
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
  cursor: pointer;
}
.cookie-pref-link:hover { background: #16304f; }
.cookie-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}
.cookie-banner-overlay.show { display: flex; }
.cookie-banner {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  color: #1f2937;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.cookie-banner-main {
  padding: 24px;
}
.cookie-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  color: #2b6cb0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.cookie-banner h3 {
  margin: 0 0 10px 0;
  color: #1a365d;
  font-family: 'Georgia', serif;
  font-size: 28px;
}
.cookie-banner p {
  margin: 0 0 12px 0;
  line-height: 1.6;
  color: #4b5563;
  font-size: 15px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.cookie-btn {
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-btn-primary { background: #2b6cb0; color: #fff; }
.cookie-btn-primary:hover { background: #245694; }
.cookie-btn-secondary { background: #edf2f7; color: #2d3748; }
.cookie-btn-secondary:hover { background: #e2e8f0; }
.cookie-btn-link {
  background: transparent;
  color: #2b6cb0;
  padding-left: 0;
  padding-right: 0;
}
.cookie-banner-footer {
  padding: 14px 24px 24px 24px;
  color: #718096;
  font-size: 13px;
}
.cookie-banner-footer a { color: #2b6cb0; }
.cookie-prefs-panel {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
.cookie-prefs-panel.show { display: block; }
.cookie-pref-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}
.cookie-pref-row:last-child { border-bottom: none; }
.cookie-pref-text strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
  font-size: 15px;
}
.cookie-pref-text span {
  display: block;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}
.cookie-pill {
  white-space: nowrap;
  background: #edf2f7;
  color: #4a5568;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}
.cookie-switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex: 0 0 auto;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e0;
  transition: .2s;
  border-radius: 999px;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  top: 4px;
  background: white;
  transition: .2s;
  border-radius: 50%;
}
.cookie-switch input:checked + .cookie-slider { background: #2b6cb0; }
.cookie-switch input:checked + .cookie-slider:before { transform: translateX(24px); }
.cookie-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .cookie-banner-main { padding: 20px; }
  .cookie-banner-footer { padding: 12px 20px 20px 20px; }
  .cookie-banner h3 { font-size: 24px; }
  .cookie-banner-actions, .cookie-prefs-actions { flex-direction: column; }
  .cookie-btn { width: 100%; }
  .cookie-pref-row { flex-direction: column; }
  .cookie-pref-link { left: 12px; right: 12px; bottom: 12px; text-align: center; }
}
