/* ========================================================================
   COOKIE BANNER
   Using Bootstrap + common.css + config.css for sizing/spacing/colors
   Only animations and positioning here
   ======================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  border-top: 1px solid var(--layoutBorderColor);
  animation: slideUpBanner 0.5s ease-out forwards;
}

.cookie-banner.hidden {
  animation: slideDownBanner 0.5s ease-out forwards;
  pointer-events: none;
}

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

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

.cookie-banner-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cookie-banner-icon svg {
  width: 100%;
  height: 100%;
}

.cookie-policy-link {
  text-decoration: underline;
  padding: 0;
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none !important;
  }
}
