#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, #1B4D89, #D4A648);
  box-shadow: 0 0 8px rgba(212, 166, 72, 0.5);
  transition: width 0.1s linear;
}


#cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  max-width: 34rem;
  margin-inline: auto;
  background: #FBFBFD;
  border: 1px solid rgba(27, 77, 137, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(12, 37, 67, 0.35);
  padding: 1.25rem 1.4rem;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

#cookie-banner h4,
#cookie-banner .cc-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0C2543;
  margin: 0 0 0.35rem;
}

#cookie-banner p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #5B6472;
  margin: 0 0 0.9rem;
}

#cookie-banner p a {
  color: #1B4D89;
  text-decoration: underline;
}

#cookie-banner .cc-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

#cookie-banner button {
  flex: 1 1 auto;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

#cc-refuse {
  background: #fff;
  border-color: rgba(27, 77, 137, 0.25);
  color: #1B4D89;
}

#cc-refuse:hover {
  background: #F1F4F9;
}

#cc-accept {
  background: #1B4D89;
  color: #fff;
}

#cc-accept:hover {
  background: #143866;
}

@media (prefers-reduced-motion: reduce) {
  #cookie-banner,
  #scroll-progress {
    transition: none;
  }
}
