.cookie-consent-overlay {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 100%);
  bottom: 1.5rem;
  width: min(90vw, 600px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent-overlay.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.cookie-consent {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent__title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1c1c1c;
  margin: 0;
}

.cookie-consent__body {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.cookie-consent__choices {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-consent__choices label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.cookie-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-consent__btn {
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent__btn.accept {
  background-color: #e4bc1c;
  color: white;
}

.cookie-consent__btn.reject {
  background-color: #f4f4f4;
  color: #1c1c1c;
  border: 1px solid #d0d0d0;
}

.cookie-consent__body a {
  color: #e4bc1c;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .cookie-consent__actions {
    flex-direction: row;
  }

  .cookie-consent__btn {
    flex: 1;
  }
}

body.dark-mode .cookie-consent {
  background-color: #1f1f1f;
  color: #f7f7f7;
  border: 1px solid #333;
}

body.dark-mode .cookie-consent__title,
body.dark-mode .cookie-consent__body,
body.dark-mode .cookie-consent__choices label {
  color: #f7f7f7;
}

body.dark-mode .cookie-consent__btn.reject {
  background-color: #2a2a2a;
  color: #f7f7f7;
  border-color: #444;
}

