

:root {
  --c-accent: #00B4D8;
  --space-3: 1.5rem;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1E1E1C 0%, #2a2a26 100%);
  color: #F7F6F3;
  padding: var(--space-3);
  border-top: 2px solid #00B4D8;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.16);
  z-index: 1000;
  animation: slideUp 0.4s ease-out;
  display: none;
}

#cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

#cookie-banner.hidden {
  display: none !important;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text p {
  margin: 0;
  margin-bottom: var(--space-2);
}

.cookie-text a {
  color: #00B4D8;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cookie-text a:hover {
  color: #00d4ff;
}

.cookie-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-2);
}

.cookie-btn {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

#cookie-accept {
  background-color: #00B4D8;
  color: #111110;
}

#cookie-accept:hover {
  background-color: #00d4ff;
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.3);
}

#cookie-reject {
  background-color: transparent;
  color: #F7F6F3;
  border: 1px solid #F7F6F3;
}

#cookie-reject:hover {
  background-color: rgba(247, 246, 243, 0.1);
  border-color: #00B4D8;
  color: #00B4D8;
}

#cookie-customize {
  background-color: rgba(247, 246, 243, 0.15);
  color: #F7F6F3;
  border: 1px solid rgba(247, 246, 243, 0.3);
}

#cookie-customize:hover {
  background-color: rgba(247, 246, 243, 0.25);
  border-color: #00B4D8;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  animation: fadeIn 0.3s ease;
}

.cookie-modal.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-content {
  background: var(--c-surface);
  color: var(--c-fg);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cookie-modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: var(--space-3);
}

.cookie-modal-content p {
  margin-bottom: var(--space-3);
  line-height: 1.6;
  color: var(--c-muted);
}

.cookie-categories {
  margin: var(--space-3) 0;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  background: var(--c-bg);
}

.cookie-category input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
}

.cookie-category label {
  cursor: pointer;
  flex: 1;
}

.cookie-category-name {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--c-muted);
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.cookie-modal-actions button {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s ease;
}

#cookie-modal-reject {
  background: transparent;
  color: var(--c-fg);
  border: 1px solid var(--c-muted);
}

#cookie-modal-reject:hover {
  border-color: var(--c-fg);
  background: var(--c-bg);
}

#cookie-modal-accept {
  background: var(--c-accent);
  color: var(--c-fg);
}

#cookie-modal-accept:hover {
  background: #00d4ff;
}

@media (max-width: 640px) {
  #cookie-banner {
    padding: var(--space-2);
  }

  .cookie-content {
    flex-direction: column;
    gap: var(--space-2);
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-modal-content {
    padding: var(--space-3);
    max-width: 90vw;
  }

  .cookie-modal-content h2 {
    font-size: 1.4rem;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }
}

#cookie-reject:hover { color: #111111 !important; }
#cookie-customize { color: #111111 !important; }

.cookie-modal { color: #ffffff !important; }


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
#cookie-reject:hover { color: #111111 !important; }
#cookie-customize { color: #111111 !important; }
.cookie-modal { color: #ffffff !important; }
