/* Cookie-Consent | Roseline Pflege */
/* Add these variables at the top of your cookie-consent.css */
:root {
  --cc-z: 11000;
  --cc-max-w: 420px;
  --bg-white: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --primary-color: #e91e63;
  --border-radius-lg: 12px;
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
}

#cookie-consent[hidden] { display: none; }

.cc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: var(--cc-z);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 1.25rem;
}

@media (min-width: 576px) {
  .cc-modal { align-items: center; }
}

.cc-window {
  width: 100%;
  max-width: var(--cc-max-w);
  background: var(--bg-white);
  color: var(--text-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.75rem;
  animation: cc-fade .35s ease-out;
}

@keyframes cc-fade { from {opacity:0;transform:translateY(1rem)} }

.cc-window h2 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-sm);
}

.cc-window p {
  font-size: .95rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.cc-more {
  font-size: .85rem;
  margin-bottom: var(--spacing-md);
  padding: 0;
}

.cc-settings {
  margin-bottom: var(--spacing-sm);
  animation: cc-collapse .3s ease-in-out;
}

@keyframes cc-collapse { from {opacity:0;max-height:0} to {opacity:1;max-height:300px} }

.cc-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .9rem;
}

.cc-toggle input {
  accent-color: var(--primary-color);
  width: 1.1rem;
  height: 1.1rem;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

@media (max-width: 400px) {
  .cc-actions .btn { flex: 1 1 100%; }
}
