

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: #e5e7eb;
  padding: 1.5rem;
  border-top: 2px solid #0284c7;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 14px;
  line-height: 1.6;
}

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

.cookie-content {
  flex: 1;
  min-width: 0;
}

.cookie-content h3 {
  font-size: 16px;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.cookie-content p {
  margin-bottom: 0;
  color: #d1d5db;
}

.cookie-content a {
  color: #0ea5e9;
  text-decoration: underline;
}

.cookie-content a:hover {
  color: #0284c7;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  outline: none;
}

.cookie-btn:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

.cookie-btn-accept {
  background-color: #0284c7;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: #0ea5e9;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #e5e7eb;
  border: 1px solid #6b7280;
}

.cookie-btn-reject:hover {
  background-color: #374151;
}

.cookie-btn-customize {
  background-color: transparent;
  color: #e5e7eb;
  border: 1px solid #6b7280;
}

.cookie-btn-customize:hover {
  background-color: #374151;
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

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

.cookie-modal-content {
  background-color: #ffffff;
  color: #1a1d23;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h2 {
  font-size: 20px;
  margin-bottom: 1rem;
  color: #1a1d23;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #1a1d23;
}

.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0284c7;
}

.cookie-category input[type="checkbox"]:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

.cookie-category-description {
  font-size: 13px;
  color: #6b7280;
  margin-top: 0.5rem;
  margin-left: 2rem;
  line-height: 1.5;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.cookie-modal-btn {
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  outline: none;
}

.cookie-modal-btn:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

.cookie-modal-btn-save {
  background-color: #0284c7;
  color: #ffffff;
}

.cookie-modal-btn-save:hover {
  background-color: #0ea5e9;
}

.cookie-modal-btn-cancel {
  background-color: #e5e7eb;
  color: #1a1d23;
}

.cookie-modal-btn-cancel:hover {
  background-color: #d1d5db;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }

  .cookie-modal-content {
    padding: 1.5rem;
    max-width: calc(100% - 2rem);
  }

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

  .cookie-modal-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-btn,
  .cookie-modal,
  .cookie-modal-btn {
    transition: none !important;
  }
}

.cookie-btn-accept { color: #ffffff !important; }
.cookie-btn-reject:hover { color: #ffffff !important; }
.cookie-btn-customize:hover { color: #ffffff !important; }

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

.cookie-btn-accept { color: #ffffff !important; }
.cookie-btn-reject:hover { color: #ffffff !important; }
.cookie-btn-customize:hover { color: #ffffff !important; }
.cookie-modal { color: #ffffff !important; }
.cookie-modal-btn-save { color: #ffffff !important; }


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