/* Cookie Consent Banner — deflexr.com */
.cc-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a2332;
  color: rgba(255,255,255,0.85);
  z-index: 99999;
  padding: 20px 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cc-banner.is-visible { transform: translateY(0); }
.cc-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cc-banner__text { flex: 1; font-size: 14px; line-height: 1.6; min-width: 220px; }
.cc-banner__text strong { color: #fff; font-size: 15px; display: block; margin-bottom: 4px; }
.cc-link { color: #7ee8c6; text-decoration: underline; }
.cc-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cc-btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  border: 2px solid transparent;
  white-space: nowrap;
}
.cc-btn--accept  { background: #2d8a6e; color: #fff; border-color: #2d8a6e; }
.cc-btn--accept:hover  { background: #1f6b54; border-color: #1f6b54; }
.cc-btn--reject  { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.cc-btn--reject:hover  { color: #fff; border-color: rgba(255,255,255,0.6); }
.cc-btn--config  { background: transparent; color: rgba(255,255,255,0.6); font-size: 13px; border: none; padding: 10px 12px; text-decoration: underline; }
.cc-btn--config:hover  { color: #fff; }

/* Settings panel */
.cc-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  align-items: flex-end;
  justify-content: center;
}
.cc-panel.is-open { display: flex; }
.cc-panel__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cc-panel__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
}
.cc-panel__title { font-size: 20px; font-weight: 700; font-family: Georgia, serif; margin-bottom: 12px; color: #0d1520; }
.cc-panel__lead { font-size: 14px; color: #5a6a7a; line-height: 1.6; margin-bottom: 24px; }
.cc-category { border: 1px solid #dee2e6; border-radius: 8px; padding: 16px 20px; margin-bottom: 14px; }
.cc-category__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cc-category__name { font-size: 15px; font-weight: 600; color: #0d1520; }
.cc-category__desc { font-size: 13px; color: #5a6a7a; line-height: 1.5; }
.cc-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.cc-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cc-toggle__slider {
  position: absolute; inset: 0;
  background: #dee2e6;
  border-radius: 24px;
  transition: background 0.25s;
  cursor: pointer;
}
.cc-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cc-toggle input:checked ~ .cc-toggle__slider { background: #2d8a6e; }
.cc-toggle input:checked ~ .cc-toggle__slider::before { transform: translateX(20px); }
.cc-toggle input:disabled ~ .cc-toggle__slider { opacity: 0.6; cursor: not-allowed; }
.cc-panel__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cc-panel__actions .cc-btn--accept { flex: 1; }
@media (max-width: 640px) {
  .cc-banner__inner { flex-direction: column; align-items: flex-start; }
  .cc-panel__box { padding: 28px 20px; }
}
