/* Cookie consent banner styling */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 980px;
  display: none;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgb(129 129 129 / 80%);
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 9999;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #29f090;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-button {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #29f090;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  background: #ffcc4d;
}

.cookie-button:focus-visible {
  outline: 2px solid #29f090;
  outline-offset: 2px;
}

.cookie-button--primary {
  background: #ffcc4d;
  color: #0b0b0d;
}

.cookie-button--primary:hover {
  background: #ffcc4d;
  border-color: #ffcc4d;
}

.cookie-button--ghost {
  color: #f5f5f5;
}

.cookie-button--ghost:hover {
  background: rgba(240, 180, 41, 0.12);
  color: #ffffff;
}

.cookie-hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f5;
  font-size: 14px;
}

#cookie-reject {
  background: transparent;
}

.legal-content {
      padding: 2px 20px;
}

.legal-links {
  margin-top: 6px;
  font-size: 14px;
}

.legal-links a {
  color: #67ffb6;
  text-decoration: none;
  text-shadow: 0px 1px 2px #000000;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration: underline;
}

.legals-section {
  margin: auto;
  margin-bottom: 20px;
  left: auto;
  right: auto;
}

.back-color-text a {
  color: #67ffb6;
}

@media (max-width: 720px) {
  .cookie-consent {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .cookie-consent__content {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-consent__actions {
    justify-content: flex-start;
  }
}
