/* Cookie consent banner - see cookie-consent.js for behaviour. */

.bh-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background-color: #0D2857;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bh-cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.bh-cookie-consent__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bh-cookie-consent__text {
  flex: 1 1 480px;
  min-width: 0;
  color: #ffffff;
}

.bh-cookie-consent__title {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: #ffffff;
}

.bh-cookie-consent__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.bh-cookie-consent__link {
  color: #ffd33f;
  text-decoration: underline;
  white-space: nowrap;
}

.bh-cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bh-cookie-consent__btn {
  border-radius: 4px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.bh-cookie-consent__btn--primary {
  border: 1px solid #ffd33f;
  background-color: #ffd33f;
  color: #07183f;
}

.bh-cookie-consent__btn--primary:hover {
  border-color: #f2c012;
  background-color: #f2c012;
}

.bh-cookie-consent__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: transparent;
  color: #ffffff;
}

.bh-cookie-consent__btn--ghost:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 700px) {
  .bh-cookie-consent__inner {
    padding: 18px 20px;
  }

  .bh-cookie-consent__actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .bh-cookie-consent__btn {
    flex: 1 1 0;
    text-align: center;
  }
}
