/* Cookie consent banner */
.cookie-consent {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  z-index: 100000;
  width: calc(100% - 40px);
  max-width: 1100px;
  box-sizing: border-box;
  padding: 20px 24px;
  border-radius: 15px;
  background-color: #20205c;
  color: #ffffff;
  font-family: 'Geologica', Arial, sans-serif;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

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

.cookie-consent.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-consent__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff;
}

.cookie-consent__text a {
  color: #7bbdf0;
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #ffffff;
}

.cookie-consent__button {
  flex-shrink: 0;
  padding: 12px 28px;
  border: 1px solid #ffffff;
  border-radius: 15px;
  background: #ffffff;
  color: #20205c;
  font-family: 'Geologica', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.cookie-consent__button:hover {
  background: transparent;
  color: #ffffff;
}

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

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
