/* ===== Cookie Banner ===== */
@keyframes cookie-slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(36, 54, 116, 0.1);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(36, 54, 116, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 18px 20px;
  z-index: 9999;
  font-family: inherit;
  animation: cookie-slide-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-banner-text {
  flex: 1 1 auto;
  color: #444;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-banner-text a {
  color: #243674;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: #1a2550;
}

#cookie-accept-btn {
  flex-shrink: 0;
  display: inline-block;
  background: linear-gradient(135deg, #243674, #3a5298);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  padding: 10px 22px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 54, 116, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

#cookie-accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(36, 54, 116, 0.35);
}

#cookie-accept-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(36, 54, 116, 0.2);
}

@media (max-width: 600px) {
  #cookie-banner {
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 14px 16px;
    border-radius: 16px;
  }
  .cookie-banner-content {
    flex-wrap: wrap;
  }
  .cookie-icon {
    font-size: 1.4rem;
  }
  .cookie-banner-text {
    font-size: 0.84rem;
  }
  #cookie-accept-btn {
    width: 100%;
    text-align: center;
  }
}

