.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background-color: #2e303e;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1 1 auto;
}

.cookie-consent-learn-more {
  color: #a5b4fc;
  text-decoration: underline;
}

.cookie-consent-learn-more:hover {
  color: #c7d2fe;
}

.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  line-height: 1.4;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

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

.cookie-consent-btn--accept {
  background-color: #3f51b5;
  color: #ffffff;
  border: 1px solid #3f51b5;
}

.cookie-consent-btn--accept:hover {
  background-color: #5c6bc0;
  border-color: #5c6bc0;
}

.cookie-consent-btn--decline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.cookie-consent-btn--decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive: stack vertically on narrow screens */
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .cookie-consent-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}
