/* Standalone component: all selectors are scoped to bp-cookie. */
.bp-cookie,
.bp-cookie * { box-sizing: border-box; }
.bp-cookie[hidden] { display: none !important; }
.bp-cookie {
  position: fixed;
  z-index: 10050;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px;
  width: auto;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #30343b;
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgb(24 35 48 / 9%);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(.2,.7,.3,1);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px - env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
}
.bp-cookie.is-visible { opacity: 1; transform: translateY(0); }
.bp-cookie.is-leaving { opacity: 0; transform: translateY(12px); pointer-events: none; }
.bp-cookie__copy { flex: 1 1 0; min-width: 0; margin: 0; }
.bp-cookie__link { color: #4e5968; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.bp-cookie__link:hover { color: #171b22; }
.bp-cookie__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.bp-cookie__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  margin: 0;
  border: 1px solid #dfe3e8;
  border-radius: 7px;
  color: #30343b;
  background: #fff;
  font: inherit;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.bp-cookie__button:hover { background: #f5f6f8; border-color: #bac2cc; }
.bp-cookie__button--accept { color: #fff; background: #303943; border-color: #303943; }
.bp-cookie__button--accept:hover { background: #1e2731; border-color: #1e2731; }
.bp-cookie__button:focus-visible,
.bp-cookie__link:focus-visible { outline: 2px solid #1765b0; outline-offset: 4px; }
.bp-cookie__button:disabled { cursor: default; }
.bp-cookie__error { margin: 7px 0 0; color: #9f2b20; font-size: 12px; }
.bp-cookie__error[hidden] { display: none; }
.bp-cookie-settings { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 740px) {
  .bp-cookie { flex-direction: column; align-items: stretch; gap: 12px; max-width: 520px; padding: 16px; }
  .bp-cookie__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .bp-cookie__button { padding-inline: 10px; }
}
@media (max-width: 380px) {
  .bp-cookie { left: 10px; right: 10px; padding: 14px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .bp-cookie__button { padding-inline: 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-cookie, .bp-cookie__button { transition: none; transform: none; }
  .bp-cookie.is-leaving { transform: none; }
}
@media print { .bp-cookie { display: none !important; } }
