/* ===== Footer – original include/footer.php megjelenése ===== */
.app-footer {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem max(1.25rem, env(safe-area-inset-right)) 0.75rem max(1.25rem, env(safe-area-inset-left));
  text-align: center;
  font-size: 0.875rem;
  color: #374151;
  background-color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* Planzee: footer margin 0, footer az oldal alján (sticky) */
body.planzee-page .layout-main__content > .page-wrapper {
  flex: 1;
  min-height: 0;
}
body.planzee-page .app-footer {
  margin-top: auto;
  flex-shrink: 0;
}

.app-footer-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 0;
  width: 100%;
  box-sizing: border-box;
}

.app-footer-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.app-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-weight: 500;
}

.app-footer-nav a {
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-footer-nav a:hover {
  color: #1f2937;
  text-decoration: underline;
}

.app-footer-nav-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
}

.app-footer-copy {
  display: block;
  margin-top: 0.5rem;
  color: #6b7280;
}

/* ===== Cookie consent sáv ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  /* guest-page overflow:hidden ne vágja le a fixed overlay-t */
  pointer-events: none;
}

.cookie-banner--hidden {
  display: none !important;
  transform: translateY(100%);
  pointer-events: none;
  visibility: hidden;
}

.cookie-banner--visible {
  display: block;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.cookie-banner-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.cookie-banner-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 1rem;
  box-shadow: 0 20px 40px -12px rgba(18, 20, 26, 0.22);
  border: 1px solid rgba(27, 122, 103, 0.18);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-card {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-banner-content {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  font-weight: 600;
  color: #12141A;
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.cookie-banner-text {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-link {
  color: #1B7A67;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-link:hover {
  color: #146352;
}

.cookie-banner-actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #1B7A67;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(27, 122, 103, 0.25);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-banner-btn:hover {
  background: #146352;
}

.cookie-banner-btn:focus-visible {
  outline: 2px solid #1B7A67;
  outline-offset: 2px;
}

.cookie-banner-btn--secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: none;
  font-weight: 500;
}

.cookie-banner-btn--secondary:hover {
  background: #f5f6f4;
  color: #12141A;
  border-color: #c5c9c3;
}

.cookie-banner-btn--secondary:focus-visible {
  outline-color: #9ca3af;
}
