/* ==========================================================================
   Cookie Consent Banner — GDPR
   Rögzített alsó sáv, gombok, animáció
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background-color: #2c2c2c;
  color: #ffffff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-consent__text {
  flex: 1;
}

.cookie-consent__text p {
  margin: 0;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #79b3e1;
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #ffffff;
}

.cookie-consent__buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.1s;
}

.cookie-consent__btn:active {
  transform: scale(0.97);
}

.cookie-consent__btn--primary {
  background-color: #006aa8;
  color: #ffffff;
}

.cookie-consent__btn--primary:hover {
  background-color: #0080c8;
}

.cookie-consent__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-consent__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Responsive: stack mobilon */
@media (max-width: 600px) {
  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent__buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
  }
}
