/* Süti sáv – RMTV (Hida / Profilcard minta) */

.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0.85rem 1rem max(0.85rem, env(safe-area-inset-bottom));
  background: #0a1628;
  border-top: 1px solid rgba(45, 199, 109, 0.25);
  box-shadow: 0 -12px 40px rgba(13, 30, 60, 0.45);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
}

.cookie-text {
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.cookie-text a {
  color: var(--zold, #2dc76d);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: #5ee09a;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  cursor: pointer;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-btn-primary {
  background: var(--zold, #2dc76d);
  color: #fff;
  border-color: var(--zold-sotet, #1da055);
}

.cookie-btn-primary:hover {
  background: var(--zold-sotet, #1da055);
}

.cookie-btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.cookie-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cookie-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}

.cookie-btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-settings {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.cookie-settings.hidden,
.cookie-settings[hidden] {
  display: none !important;
}

.cookie-settings-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.5rem;
}

.cookie-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 12px;
  cursor: pointer;
}

.cookie-row span small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  margin-top: 2px;
}

.cookie-save {
  margin-top: 0.5rem;
}

.lablejc-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
}

.lablejc-link:hover {
  color: #fff;
}
