﻿.apb-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 130%);
  width: min(620px, calc(100% - 32px));
  z-index: 10000;
  background: #ffffff;
  color: #243247;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 12px 45px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s ease, opacity .45s ease, visibility .45s;
}

.apb-cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.apb-cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #17365d;
}

.apb-cookie-banner p {
  margin: 0 0 15px;
  font-size: .92rem;
  line-height: 1.6;
}

.apb-cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.apb-cookie-banner button {
  background: #17365d;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
}

.apb-cookie-banner a {
  color: #17365d;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .apb-cookie-banner {
    bottom: 12px;
    padding: 18px;
  }
  .apb-cookie-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .apb-cookie-banner button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apb-cookie-banner {
    transition: none;
  }
}
