/* =====================================================================
   SOID cookie-banner + gomb stílusok
   Kinyerve a téma style.css-éből, hogy a főoldalon (ahol a téma CSS-e
   nincs betöltve a @layer konfliktus elkerülésére) a cookie-banner
   mégis helyesen jelenjen meg.
   ===================================================================== */

:root {
  --primary: #0171bc;
  --primary-strong: #0a8fdf;
  --text: #18222f;
}

/* --- Gombok --- */
.soid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Bahnschrift", "Verdana", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.soid-button:hover,
.soid-button:focus-visible {
  transform: translateY(-2px);
}

.soid-button-primary {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: #fff;
  box-shadow: 0 12px 28px rgba(1, 113, 188, 0.32);
}

.soid-button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

/* --- Cookie banner --- */
.soid-cookie-banner {
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  width: auto;
  pointer-events: none;
}

.soid-cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  width: min(760px, 100%);
  margin-left: auto;
  padding: 20px 22px;
  background: rgba(11, 18, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(8, 17, 27, 0.28);
  pointer-events: auto;
}

.soid-cookie-banner__copy strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: "Bahnschrift", "Verdana", sans-serif;
  font-size: 1rem;
}

.soid-cookie-banner__copy p,
.soid-cookie-banner__copy a {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.soid-cookie-banner__copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.soid-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* --- Reszponzív --- */
@media (max-width: 780px) {
  .soid-cookie-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .soid-cookie-banner__inner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .soid-cookie-banner__actions {
    justify-content: stretch;
  }

  .soid-cookie-banner__actions .soid-button {
    width: 100%;
  }
}
