
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e5e;
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  border-top: 2px solid #00d9ff;
  z-index: 1000;
  transform: translateY(120%);
  transition: transform 0.3s ease-in-out;
  display: none;
}

.cookie-banner.active {
  display: flex;
  transform: translateY(0);
}

.cookie-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d1d5db;
}

.cookie-text a {
  color: #00d9ff;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #39ff14;
}

.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-actions button {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cookie-customize-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.cookie-customize-content {
  background-color: #ffffff;
  color: #0f1419;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-customize-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2c3e5e;
}

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

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

.cookie-category-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e5e;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.cookie-category-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: #00d9ff;
}

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

.cookie-category-description {
  font-size: 0.9rem;
  color: #4a5568;
  margin-top: 0.5rem;
  margin-left: 1.75rem;
}

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

.cookie-customize-actions button {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cookie-customize-actions .btn-secondary {
  background-color: #d1d5db;
  color: #0f1419;
}

.cookie-customize-actions .btn-secondary:hover {
  background-color: #a3acba;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }

  .cookie-text {
    font-size: 0.9rem;
  }

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

  .cookie-actions button {
    width: 100%;
  }

  .cookie-customize-content {
    padding: 1.5rem;
    max-height: 90vh;
  }
}

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


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