/* @bundled in css/rotuval-public.css */
/* ============================================================
   cookie-consent.css — Rotuval Cookie Consent Bar
   Requirements: 2.4
   ============================================================ */

:root {
  --color-primary:    #0c0d0e;
  --color-accent:     #c6d96e;
  --space-2:          0.5rem;
  --space-4:          1rem;
}

/* ── Floating pill bar ── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 1rem 1.25rem;
  background: transparent;
  pointer-events: none;
  transform: translateY(calc(100% + 1.25rem));
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
}

.cookie-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.cookie-bar__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.85rem 0.85rem 0.85rem 1.35rem;
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.94);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
  pointer-events: auto;
}

.cookie-bar__text {
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0;
}

.cookie-bar__link {
  color: var(--color-accent, #c6d96e);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.cookie-bar__link:hover,
.cookie-bar__link:focus {
  opacity: 0.85;
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-bar__actions .lp-btn {
  border-radius: 999px;
  white-space: nowrap;
}

.cookie-bar__actions .lp-btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

.cookie-bar__actions .lp-btn--outline {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.cookie-bar__actions .lp-btn--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.cookie-bar__actions .lp-btn--orange {
  color: #0c0d0e;
  background: var(--color-accent, #c6d96e);
  border-color: transparent;
}

.cookie-bar__actions .lp-btn--orange:hover {
  background: #b6cc4f;
}

@media (max-width: 767px) {
  .cookie-bar {
    padding: 0 0.75rem 0.85rem;
  }

  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: 1.25rem;
  }

  .cookie-bar__text {
    text-align: center;
    font-size: 0.8rem;
  }

  .cookie-bar__actions {
    width: 100%;
  }

  .cookie-bar__actions .lp-btn {
    flex: 1 1 0;
    justify-content: center;
  }
}
