/* ============================================================
   GDPR cookie consent banner
   ============================================================
   Verbatim extract of the .consent-* block from
   www.esegece.com/css/style.css (lines 1163-1311). Keep in sync
   with the website when those rules change.
   ============================================================ */
.consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  animation: consent-slide-up 0.3s ease-out;
}
.consent-banner[hidden] { display: none; }
.consent-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.consent-banner p {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  min-width: 280px;
}
.consent-banner p a { color: #0057B8; }
.consent-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.consent-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.consent-btn:hover {
  background: rgba(0, 87, 184, 0.06);
  border-color: rgba(0, 87, 184, 0.3);
  color: #0057B8;
}
.consent-btn-primary {
  background: #0057B8;
  border-color: #0057B8;
  color: #fff;
}
.consent-btn-primary:hover {
  background: #003F87;
  border-color: #003F87;
  color: #fff;
}
@keyframes consent-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Modal (Customize) */
.consent-modal[hidden] { display: none; }
.consent-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.consent-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.consent-modal-panel {
  position: relative;
  width: 100%; max-width: 540px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.consent-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.consent-modal-header h2 { margin: 0; font-size: 1.25rem; }
.consent-modal-body {
  padding: 16px 24px;
  max-height: 60vh; overflow-y: auto;
}
.consent-category {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.consent-category:last-child { border-bottom: none; }
.consent-category-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.consent-category h3 { margin: 0 0 4px; font-size: 1rem; }
.consent-category p { margin: 0; font-size: 0.8125rem; color: rgba(0, 0, 0, 0.6); }
.consent-toggle {
  position: relative;
  display: inline-block;
  width: 40px; height: 22px;
  flex-shrink: 0;
}
.consent-toggle input { opacity: 0; width: 0; height: 0; }
.consent-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 22px;
  transition: background 0.15s ease;
}
.consent-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.consent-toggle input:checked + .consent-toggle-slider {
  background: #0057B8;
}
.consent-toggle input:checked + .consent-toggle-slider::before {
  transform: translateX(18px);
}
.consent-toggle input:disabled + .consent-toggle-slider {
  opacity: 0.5; cursor: not-allowed;
}
.consent-modal-footer {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}
@media (max-width: 600px) {
  .consent-banner-inner { flex-direction: column; align-items: stretch; }
  .consent-actions { justify-content: stretch; }
  .consent-btn { flex: 1; }
}
