#cookie-banner {
  display: none;
  position: fixed;
  top: 0;
  bottom: unset;
  left: 0;
  right: 0;
  max-width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 100000;
  background-color: var(--color-6);
  border-top: 2px solid var(--color-1);
  color: white;
  padding: 1em 1.8em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  animation: slide-in 1s ease-out;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  text-align: center;
}

#cookie-banner a {
  text-decoration: underline;
  color: white;
  cursor: pointer;
}

#cookie-buttons {
  display: flex;
  gap: 0.5em;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.4em 0.8em;
  font-size: 0.9em;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-width: 2px;
  border-style: solid;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: #973101;
  border-color: #973101;
  color: #ffffff;
}

.cookie-btn-decline {
  background-color: transparent;
  border-color: transparent;
  color: inherit;
}

.cookie-btn-decline:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 1.2em;
  }

  #cookie-buttons {
    align-self: center;
  }
}

@keyframes slide-in {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
