/* Cookie banner LanuseiLAB - versione premium */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: cookieSlideUp .45s ease both;
}

.cookie-banner__content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,250,250,.94)),
    radial-gradient(circle at top left, rgba(35,143,143,.16), transparent 38%);
  border: 1px solid rgba(35, 143, 143, 0.22);
  box-shadow:
    0 24px 70px rgba(6, 22, 38, 0.22),
    inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner__content::before {
  content: "✓";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #238f8f, #37b6b0);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(35,143,143,.32);
}

.cookie-banner__text {
  display: grid;
  gap: 5px;
  color: #545454;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner__text strong {
  color: #061626;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.cookie-banner__text span {
  max-width: 760px;
}

.cookie-banner__text a {
  width: fit-content;
  color: #238f8f;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(35,143,143,.35);
}

.cookie-banner__text a:hover {
  border-bottom-color: #238f8f;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid transparent;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn--primary {
  background: linear-gradient(135deg, #238f8f, #32aaa5);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(35,143,143,.28);
}

.cookie-btn--primary:hover {
  box-shadow: 0 16px 34px rgba(35,143,143,.34);
}

.cookie-btn--outline {
  background: rgba(255,255,255,.72);
  color: #061626;
  border-color: rgba(84, 84, 84, 0.18);
}

.cookie-btn--outline:hover {
  background: #ffffff;
  border-color: rgba(35,143,143,.35);
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
  }

  .cookie-banner__content::before {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__text strong {
    font-size: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-btn {
    width: 100%;
    padding: 12px 14px;
  }
}

@media (max-width: 420px) {
  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }
}