
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2a2a2a;
  color: #ffffff;
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

#cookie-banner.show {
  display: block;
}

#cookie-banner.main-view {
  padding: 1.5rem;
  border-top: 2px solid #0066cc;
}

#cookie-banner.customize-view {
  padding: 1.5rem;
  border-top: 2px solid #0066cc;
  max-height: 80vh;
  overflow-y: auto;
}

.banner-container {
  max-width: 1200px;
  margin-inline: auto;
}

.main-message {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.main-message p {
  margin: 0 0 0.5rem 0;
}

.main-message a {
  color: #6dd5ff;
  text-decoration: underline;
}

.main-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.customize-content {
  display: none;
}

.customize-content.active {
  display: block;
}

.customize-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cookie-categories {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-category {
  background-color: #3a3a3a;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #4a4a4a;
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}

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

.cookie-category p {
  margin: 0.5rem 0 0 1.75rem;
  font-size: 0.9rem;
  color: #cccccc;
  line-height: 1.5;
}

.customize-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

#cookie-banner button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

#cookie-banner button:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

#cookie-banner .btn-accept {
  background-color: #0066cc;
  color: white;
}

#cookie-banner .btn-accept:hover {
  background-color: #0052a3;
}

#cookie-banner .btn-reject {
  background-color: #555555;
  color: white;
}

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

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

#cookie-banner .btn-customize:hover {
  background-color: #1a3a5a;
  border-color: #0066cc;
}

#cookie-banner .btn-save-preferences {
  background-color: #0066cc;
  color: white;
}

#cookie-banner .btn-save-preferences:hover {
  background-color: #0052a3;
}

#cookie-banner .btn-back {
  background-color: #555555;
  color: white;
}

#cookie-banner .btn-back:hover {
  background-color: #666666;
}

@media (max-width: 640px) {
  #cookie-banner.main-view,
  #cookie-banner.customize-view {
    padding: 1rem;
  }

  .main-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  #cookie-banner button {
    width: 100%;
  }

  .customize-buttons {
    flex-direction: column;
  }

  .customize-content {
    font-size: 0.9rem;
  }

  .cookie-category {
    padding: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cookie-banner {
    animation: none;
  }
}
