/* Overlay effect om interactie af te dwingen */
#cookie-banner::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Banner gecentreerd in beeld */
#cookie-banner {
  display: none;
  position: fixed;
  top: calc(50% - 200px);
  left: calc(50% - 300px);
  
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  z-index: 1055;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Knoppen netjes gestyled */
#cookie-banner button {
  min-width: 140px;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

#accept-all-cookies {
  background-color: #28a745;
  color: white;
}

#decline-cookies {
  background-color: #6c757d;
  color: white;
}

#open-settings {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

#accept-cookies {
  background-color: #007bff;
  color: white;
  margin-top: 1rem;
}

/* Layoutformaat en afstand */
#cookie-consent-form > div:first-child {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Instellingen tonen met animatie */
#cookie-settings {
  transition: all 0.3s ease-in-out;
  margin-top: 1rem;
}

/* Fade effect voor instellingen */
#cookie-settings.fade.show {
  opacity: 1;
  visibility: visible;
}

#cookie-settings.fade {
  opacity: 0;
  visibility: hidden;
}

/* Checkboxen */
#cookie-settings .form-check {
  margin-bottom: 0.75rem;
}

#cookie-settings label {
  font-weight: 500;
}
