.cookie-notice {
  width: min(36rem, calc(100% - 2rem));
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;

  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);

  display: flex;
  flex-direction: column;
  gap: 1rem;

  animation: cookie-pop 0.35s ease-out both;
}


.cookie-notice__text {
  margin: 0;
  font-weight: 600;
  color: rgba(20, 25, 30, 0.8);
  line-height: 1.45;
}

.cookie-notice__link {
  color: rgba(20, 25, 30, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-notice__btn {
  align-self: flex-end;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(110, 131, 116, 0.95);
  color: #fff;
  font-weight: 800;

  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}

.cookie-notice__btn:hover {
  filter: brightness(1.05);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(20, 25, 30, 0.35);
  backdrop-filter: blur(2px);
}

@media (max-width: 575.98px){
  .cookie-notice{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-notice__btn{
    width: 100%;
  }
}


/* Animation For The Banner */
@keyframes cookie-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
