.ndc-cookie-consent[hidden] {
  display: none !important;
}

.ndc-cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 99999;
  padding: 18px max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  color: #fff;
  background: linear-gradient(180deg, rgba(3, 26, 35, 0.78), rgba(3, 26, 35, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -22px 60px rgba(0, 22, 36, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.ndc-cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.ndc-cookie-consent__inner {
  position: relative;
  width: min(920px, calc(100% - 54px));
  margin: 0 auto;
  text-align: center;
}

.ndc-cookie-consent__copy {
  margin: 0 auto 12px;
  max-width: 760px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  text-wrap: balance;
}

.ndc-cookie-consent__copy a {
  color: #59d7d1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ndc-cookie-consent__copy a:hover,
.ndc-cookie-consent__copy a:focus-visible {
  color: #fff;
}

.ndc-cookie-consent__accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #10aeb2, #0b8c92);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.ndc-cookie-consent__accept:hover,
.ndc-cookie-consent__accept:focus-visible {
  background: linear-gradient(135deg, #0b8c92, #0a6f78);
  outline: 2px solid rgba(255, 255, 255, 0.68);
  outline-offset: 3px;
}

.ndc-cookie-consent__close {
  position: absolute;
  top: 50%;
  right: -54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
}

.ndc-cookie-consent__close:hover,
.ndc-cookie-consent__close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.ndc-cookie-consent__close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .ndc-cookie-consent {
    padding-top: 20px;
  }

  .ndc-cookie-consent__inner {
    width: min(100%, 420px);
    padding-right: 44px;
    text-align: left;
  }

  .ndc-cookie-consent__copy {
    margin-left: 0;
    font-size: 0.86rem;
    text-wrap: auto;
  }

  .ndc-cookie-consent__close {
    top: 0;
    right: 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ndc-cookie-consent {
    transition: none;
  }
}
