/* Cookie consent bar — NHS Fine Help */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
  background: rgba(5, 40, 37, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(247, 255, 252, 0.14);
  color: #f4fffb;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
}
.cookie-bar.is-visible {
  transform: translateY(0);
}
.cookie-bar__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}
.cookie-bar__text {
  flex: 1 1 16rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(247, 255, 252, 0.88);
}
.cookie-bar__text a {
  color: #b8efe3;
}
.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-bar__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cookie-bar__btn:hover {
  transform: translateY(-1px);
}
.cookie-bar__btn--accept {
  background: #7ec9b8;
  color: #04221e;
}
.cookie-bar__btn--reject {
  background: transparent;
  color: #f4fffb;
  border: 1.5px solid rgba(247, 255, 252, 0.35);
}
@media (max-width: 720px) {
  body.has-mobile-cta .cookie-bar {
    bottom: 3.6rem;
  }
  .cookie-bar__actions {
    width: 100%;
  }
  .cookie-bar__btn {
    flex: 1;
    text-align: center;
  }
}
