/* 🍪 COMPACTE COOKIE BANNER */
.cookie-banner.fancy {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeInUp 0.6s ease-in-out;
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  max-width: 320px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  font-size: 14px;
}

.cookie-title {
  font-size: 16px;
  font-weight: bold;
  color: #5c2d91;
  margin-bottom: 8px;
}

.cookie-card p {
  font-size: 13px;
  color: #444;
  margin: 0 0 14px;
}

/* Opties */
.cookie-switches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  background: #f7f3fb;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Schakelknop (compact) */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 18px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: .3s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: .3s;
}

input:checked + .slider {
  background-color: #a736f3;
}

input:checked + .slider::before {
  transform: translateX(16px);
}

/* Knoppen */
.cookie-buttons {
  display: flex;
  gap: 6px;
}

.accept-btn,
.decline-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.accept-btn {
  background: linear-gradient(135deg, #a736f3, #c28df3);
  color: white;
}

.accept-btn:hover {
  background: linear-gradient(135deg, #9121dc, #b48be8);
}

.decline-btn {
  background-color: #f0f0f0;
  color: #444;
}

.decline-btn:hover {
  background-color: #e0e0e0;
}

/* 📱 Mobiel */
@media (max-width: 480px) {
  .cookie-banner.fancy {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-card {
    max-width: 100%;
    padding: 14px;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

/* ⚙️ Cookie Instellingen Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.cookie-modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.4s ease;
}

.modal-content h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #5c2d91;
  text-align: center;
}