/*
  Cookie Banner - AVG/GDPR compliant
  Design: Modern, opvallend, passend bij hulpdienstgd.nl
*/
.cookie-banner-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,32,40,0.7);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: auto;
  transition: background 0.3s;
}
.cookie-banner {
  background: linear-gradient(135deg, #2e8b57 0%, #00b4d8 100%);
  color: #fff;
  border-radius: 2.5rem 2.5rem 0 0;
  box-shadow: 0 0 32px 0 rgba(0,0,0,0.4);
  max-width: 540px;
  width: 95vw;
  margin: 0 0 2vw 0;
  padding: 2.5rem 2rem 2rem 2rem;
  font-family: 'Poppins', Arial, sans-serif;
  animation: slideUp 0.8s cubic-bezier(.77,0,.18,1) 0s 1;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}
.cookie-banner p {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  transition: background 0.2s;
}
.cookie-category input[type="checkbox"] {
  accent-color: #00b4d8;
  width: 1.2rem;
  height: 1.2rem;
}
.cookie-category label {
  font-weight: 500;
  flex: 1;
  cursor: pointer;
}
.cookie-category .desc {
  font-size: 0.93rem;
  color: #e0f7fa;
  font-weight: 400;
  margin-left: 0.5rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}
.cookie-banner-actions button {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 1.2rem;
  padding: 0.65rem 1.5rem;
  margin-top: 0.3rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner-actions .accept-all {
  background: #00b4d8;
  color: #fff;
}
.cookie-banner-actions .accept-all:hover {
  background: #2e8b57;
}
.cookie-banner-actions .reject-all {
  background: #fff;
  color: #00b4d8;
  border: 2px solid #00b4d8;
}
.cookie-banner-actions .reject-all:hover {
  background: #e0f7fa;
}
.cookie-banner-actions .save-selection {
  background: #2e8b57;
  color: #fff;
}
.cookie-banner-actions .save-selection:hover {
  background: #00b4d8;
}
.cookie-banner .cookie-link {
  color: #ffe066;
  text-decoration: underline;
  font-size: 1rem;
  margin-left: 0.2rem;
  transition: color 0.2s;
}
.cookie-banner .cookie-link:hover {
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 1.4rem 0.7rem 1rem 0.7rem;
    font-size: 0.96rem;
    max-width: 99vw;
  }
  .cookie-banner h2 {
    font-size: 1.15rem;
  }
}

/* Floating cookie settings button */
.cookie-settings-fab {
  position: fixed;
  left: 2.1rem;
  bottom: 2.1rem;
  z-index: 99999;
  background: linear-gradient(135deg, #2e8b57 0%, #00b4d8 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  outline: none;
  animation: fabIn 0.8s cubic-bezier(.77,0,.18,1) 0s 1;
}
.cookie-settings-fab:hover {
  background: #00b4d8;
  color: #ffe066;
  transform: scale(1.08) rotate(-8deg);
  box-shadow: 0 10px 32px 0 rgba(0,0,0,0.28);
}
@keyframes fabIn {
  from { transform: scale(0.6) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

