/*
 * Compact cookie bar. Uses the colours, type and pill buttons of the site
 * (same dark glass as the menu, same cream button as "Contact").
 */
.lab-cookie {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.1rem;
  width: min(44rem, calc(100% - 2rem));
  padding: 0.7rem 0.7rem 0.7rem 1.25rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 1.25rem;
  background: oklch(0.11 0.02 18 / 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px oklch(0 0 0 / 0.4);
  color: oklch(0.96 0.005 80 / 0.88);
  font-family: var(--font-sans, "Manrope Variable", "Manrope", sans-serif);
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lab-cookie.is-in {
  opacity: 1;
  transform: none;
}
.lab-cookie.is-out {
  opacity: 0;
  transform: translateY(1rem);
}
.lab-cookie-text {
  flex: 1 1 auto;
  margin: 0;
}
.lab-cookie-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: oklch(1 0 0 / 0.4);
  white-space: nowrap;
}
.lab-cookie-text a:hover,
.lab-cookie-text a:focus-visible {
  text-decoration-color: currentColor;
}
.lab-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}
.lab-cookie-btn {
  height: 2.3rem;
  padding-inline: 1.15rem;
  border: 1px solid oklch(1 0 0 / 0.28);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.lab-cookie-btn:hover,
.lab-cookie-btn:focus-visible {
  background: oklch(1 0 0 / 0.12);
}
.lab-cookie-btn--accept {
  border-color: transparent;
  background: oklch(0.96 0.005 60);
  color: oklch(0.14 0 0);
}
.lab-cookie-btn--accept:hover,
.lab-cookie-btn--accept:focus-visible {
  background: oklch(0.93 0 0);
}
@media (max-width: 600px) {
  .lab-cookie {
    left: 0.5rem;
    bottom: 0.5rem;
    width: calc(100% - 1rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    padding: 0.9rem 0.9rem 0.8rem;
  }
  .lab-cookie-actions .lab-cookie-btn {
    flex: 1 1 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lab-cookie {
    transition: none;
  }
}
