/* Simple Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
  display: none; /* Hidden by default, shown via JS if not consented */
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

#cookie-consent-banner.show {
  display: block;
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons .btn-cookie-accept,
.cookie-buttons .btn-cookie-decline {
  min-width: 170px;
  text-align: center;
}

.btn-cookie-accept {
  background-color: var(--primary-color);
  color: var(--dark-charcoal);
  font-weight: bold;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
  background-color: var(--white);
  transform: translateY(-2px);
}

.btn-cookie-decline {
  background-color: transparent;
  color: var(--white);
  font-weight: bold;
  border: 1px solid var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-cookie-decline:hover {
  color: var(--white);
  border-color: var(--white);
}

.footer-links a[data-cookie-settings] {
  cursor: pointer;
}

.cookie-settings-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-dialog {
  width: min(720px, 100%);
  background: var(--dark-charcoal);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-settings-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.cookie-settings-close {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-settings-intro {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1rem;
}

.cookie-settings-options {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.cookie-option input {
  margin-top: 0.2rem;
}

.cookie-option span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cookie-option small {
  color: rgba(255, 255, 255, 0.76);
}

.cookie-option-disabled {
  opacity: 0.8;
}

.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

@media (max-width: 576px) {
  .cookie-settings-actions {
    justify-content: stretch;
  }

  .cookie-settings-actions .btn-cookie-accept,
  .cookie-settings-actions .btn-cookie-decline {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Privacy Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.map-placeholder h3 {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.map-placeholder p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
