/* Grundstil Slide-In Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-width: 90%;
  background-color: #1f2937;
  color: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateX(110%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  font-family: sans-serif;
  opacity: 0;
}

/* Sichtbar */
.cookie-popup.show {
  transform: translateX(0);
  opacity: 1;
}

/* Vollständig ausblenden */
.cookie-popup.hidden {
  display: none;
}

/* Text & Buttons */
.cookie-popup p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cookie-popup .cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-popup button {
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.cookie-popup button:hover {
  transform: translateY(-2px);
}

.cookie-popup .accept-btn {
  background-color: #4CAF50;
  color: white;
}

.cookie-popup .accept-btn:hover {
  background-color: #43a047;
}

.cookie-popup .decline-btn {
  background-color: #f44336;
  color: white;
}

.cookie-popup .decline-btn:hover {
  background-color: #d32f2f;
}

/* Checkboxen */
.cookie-popup label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.cookie-popup input[type="checkbox"] {
  accent-color: #4CAF50;
  width: 16px;
  height: 16px;
}

/* Mobile Anpassung */
@media (max-width: 640px) {
  .cookie-popup {
    bottom: 10px;
    right: 10px;
    width: calc(100% - 20px);
    padding: 1rem;
  }
}
