/* Cookie consent bar -- scoped bk-cc-* classes, deliberately plain CSS
   (not framework utilities) so it renders correctly on any site.
   larnipc.hu (WordPress + Oxygen) variant: reads the Oxygen design-system
   custom properties (--bg / --ink / --navy / --orange ... defined in
   uploads/oxygen/css/universal.css) with hard fallbacks. --bg / --ink / --line
   are the ones the site's dark theme (html.lp-dark) redefines, so the bar
   follows the theme toggle; --white / --navy do NOT flip, do not use them for
   surfaces or text.
   The bar deliberately differs from the navy site-footer (light surface plus a
   3px orange top border), so the two never merge into one block behind it. */

.bk-cc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  justify-content: space-between;
  gap: 0.6rem 0.9rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg, #ffffff);
  color: var(--ink, #16202e);
  border-top: 3px solid var(--orange, #ff6900);
  font-family: var(--font, "IBM Plex Sans", "Segoe UI", system-ui, sans-serif);
  font-size: 0.88rem;
  line-height: 1.35;
  box-shadow: 0 -4px 16px rgba(0, 32, 70, 0.22);
}

.bk-cc-bar[hidden] {
  display: none;
}

.bk-cc-text {
  flex: 1 1 240px;
  margin: 0;
  color: inherit;
}

.bk-cc-text a {
  color: var(--navy, #003366);
  text-decoration: underline;
  font-weight: 600;
}

.bk-cc-text a:hover {
  color: var(--orange, #ff6900);
}

/* --navy stays dark in the site's dark theme, so it needs its own link colour */
html.lp-dark .bk-cc-text a {
  color: #6fb0ff;
}

.bk-cc-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bk-cc-btn {
  border: none;
  border-radius: 0.4rem;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.bk-cc-btn-accept {
  background: var(--orange, #ff6900);
  color: #ffffff;
}

.bk-cc-btn-accept:hover {
  background: var(--orange-600, #e85d00);
}

.bk-cc-btn-decline {
  background: transparent;
  color: var(--ink, #16202e);
  border: 1px solid var(--line, #e3e8ef);
}

.bk-cc-btn-decline:hover {
  background: var(--bg-navy-soft, #eef3f9);
}

@media (max-width: 480px) {
  .bk-cc-bar {
    padding: 0.55rem 0.8rem;
    font-size: 0.78rem;
    gap: 0.4rem;
  }
  .bk-cc-text {
    flex-basis: 100%;
  }
  .bk-cc-actions {
    flex-basis: 100%;
    justify-content: flex-end;
  }
  .bk-cc-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
  }
}
