.hcc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  padding: 20px 16px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  font-family: inherit;
}
.hcc-banner.hcc-visible {
  transform: translateY(0);
  opacity: 1;
}
.hcc-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.hcc-banner-text {
  flex: 1 1 420px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}
.hcc-banner-text a {
  color: #0284c7;
  text-decoration: underline;
}
.hcc-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}
.hcc-btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.hcc-btn-primary {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}
.hcc-btn-primary:hover {
  background: #0369a1;
}
.hcc-btn-secondary {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}
.hcc-btn-secondary:hover {
  background: #f3f4f6;
}

.hcc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(17, 24, 39, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hcc-modal-overlay[hidden] {
  display: none;
}
body.hcc-no-scroll {
  overflow: hidden;
}
.hcc-modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hcc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}
.hcc-modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}
.hcc-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  padding: 4px 8px;
}
.hcc-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
}
.hcc-modal-intro {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 20px;
}
.hcc-category {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.hcc-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hcc-category-label {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
}
.hcc-category-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 8px 0 0;
}
.hcc-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}
.hcc-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.hcc-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d1d5db;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}
.hcc-toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.hcc-toggle-input:checked + .hcc-toggle-slider {
  background-color: #0284c7;
}
.hcc-toggle-input:checked + .hcc-toggle-slider::before {
  transform: translateX(20px);
}
.hcc-toggle-input:disabled + .hcc-toggle-slider {
  background-color: #7dd3fc;
  cursor: not-allowed;
}
.hcc-details {
  margin-top: 10px;
}
.hcc-details summary {
  font-size: 13px;
  color: #0284c7;
  cursor: pointer;
  font-weight: 500;
}
.hcc-cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12px;
}
.hcc-cookie-table th,
.hcc-cookie-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #f0f0f0;
  color: #4b5563;
}
.hcc-cookie-table th {
  color: #111827;
  font-weight: 600;
}
.hcc-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  justify-content: flex-end;
}

.hcc-map-wrapper {
  position: relative;
}
.hcc-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: #f3f4f6;
}
.hcc-map-placeholder p {
  max-width: 480px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}
.hcc-consent-gate-wrapper.hcc-consent-granted .hcc-map-placeholder {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .hcc-banner {
    background: #111827;
    border-top-color: #1f2937;
  }
  .hcc-banner-text {
    color: #d1d5db;
  }
  .hcc-btn-secondary {
    background: #1f2937;
    color: #f9fafb;
    border-color: #374151;
  }
  .hcc-btn-secondary:hover {
    background: #263140;
  }
  .hcc-modal {
    background: #111827;
  }
  .hcc-modal-header {
    border-bottom-color: #1f2937;
  }
  .hcc-modal-header h2 {
    color: #f9fafb;
  }
  .hcc-category {
    border-color: #1f2937;
  }
  .hcc-category-label {
    color: #f9fafb;
  }
  .hcc-modal-footer {
    border-top-color: #1f2937;
  }
  .hcc-map-placeholder {
    background: #1f2937;
  }
}
