/* Cookie consent — global glass banner (premium dark, non-blocking) */

.eds-cookie-consent {
  position: fixed;
  z-index: 99999;
  bottom: 1.25rem;
  right: 1.25rem;
  left: auto;
  max-width: min(420px, calc(100vw - 2rem));
  padding: 0;
  margin: 0;
  font-family: inherit;
  pointer-events: auto;
}

@media (max-width: 520px) {
  .eds-cookie-consent {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.eds-cookie-consent__inner {
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 10, 18, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(155, 81, 224, 0.08),
    0 0 42px rgba(139, 61, 255, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .eds-cookie-consent__inner {
    animation: eds-cookie-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes eds-cookie-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eds-cookie-consent__title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f7f5ff;
  line-height: 1.25;
}

.eds-cookie-consent__text {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(235, 222, 238, 0.82);
}

.eds-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.eds-cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.eds-cookie-consent__btn:focus-visible {
  outline: 2px solid rgba(222, 183, 255, 0.95);
  outline-offset: 2px;
}

.eds-cookie-consent__btn--primary {
  background: linear-gradient(135deg, #8b3dff 0%, #9b51e0 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(139, 61, 255, 0.28);
}

.eds-cookie-consent__btn--primary:hover {
  box-shadow: 0 10px 32px rgba(139, 61, 255, 0.38);
  transform: translateY(-1px);
}

.eds-cookie-consent__btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 222, 238, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.eds-cookie-consent__btn--ghost:hover {
  border-color: rgba(190, 160, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.eds-cookie-consent__btn--link {
  background: transparent;
  color: #deb7ff;
  border-color: transparent;
  text-underline-offset: 3px;
}

.eds-cookie-consent__btn--link:hover {
  color: #f0dbff;
  text-decoration: underline;
}
