#orca-consent-modal,
.orca-consent-modal {
  display: none !important;
}

.eksneks-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.orca-consent-decision-required,
.eksneks-consent-gate-active {
  overflow: hidden;
}

body.orca-consent-decision-required > :not(#eksneks-consent-modal):not(script):not(style),
body.eksneks-consent-gate-active > :not(#eksneks-consent-modal):not(script):not(style) {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.eksneks-consent-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.eksneks-consent-modal__backdrop {
  display: none;
}

.eksneks-consent-modal.is-mandatory .eksneks-consent-modal__backdrop {
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(12px);
}

.eksneks-consent-modal__dialog {
  position: relative;
  width: min(100%, 62rem);
  pointer-events: auto;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(29, 27, 31, 0.08);
  border-radius: 1.75rem;
  background: #ffffff;
  color: #1d1b1f;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  font-family: Manrope, Arial, sans-serif;
  transform: translateY(2rem);
  transition: transform 0.28s ease;
}

.eksneks-consent-modal.is-visible .eksneks-consent-modal__dialog {
  transform: translateY(0);
}

.eksneks-consent-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(29, 27, 31, 0.12);
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.eksneks-consent-modal__close[hidden] {
  display: none;
}

.eksneks-consent-modal__close:hover,
.eksneks-consent-modal__close:focus-visible {
  background: #e2e8f0;
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
}

.eksneks-consent-modal__eyebrow {
  margin: 0 0 0.75rem;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eksneks-consent-modal__title {
  margin: 0;
  color: #111827;
  font-family: Syne, Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.eksneks-consent-modal__description {
  max-width: 46rem;
  margin: 0.85rem 0 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
}

.eksneks-consent-modal__link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: #1d4ed8;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
}

.eksneks-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.eksneks-consent-modal__button {
  min-width: 10rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.eksneks-consent-modal__button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.eksneks-consent-modal__button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
}

.eksneks-consent-modal__button--primary {
  border: 2px solid #1d4ed8;
  background: #1d4ed8;
  color: #ffffff;
}

.eksneks-consent-modal__button--primary:hover,
.eksneks-consent-modal__button--primary:focus-visible {
  border-color: #1e40af;
  background: #1e40af;
  transform: translateY(-1px);
}

.eksneks-consent-modal__button--secondary {
  border: 2px solid #334155;
  background: #f8fafc;
  color: #0f172a;
}

.eksneks-consent-modal__button--secondary:hover,
.eksneks-consent-modal__button--secondary:focus-visible {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.eksneks-privacy-settings {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99990;
  padding: 0.65rem 0.9rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
  font: 700 0.82rem/1.2 Manrope, Arial, sans-serif;
  cursor: pointer;
}

.eksneks-privacy-settings:hover,
.eksneks-privacy-settings:focus-visible {
  background: #1d4ed8;
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.eksneks-consent-required {
  margin: 1rem 0;
  padding: 1rem;
  border: 2px solid #f59e0b;
  border-radius: 0.75rem;
  background: #fffbeb;
  color: #451a03;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.5;
}

.eksneks-consent-required p {
  margin: 0.4rem 0 0.8rem;
  color: #78350f;
}

.eksneks-consent-required button {
  padding: 0.7rem 1rem;
  border: 2px solid #92400e;
  border-radius: 999px;
  background: #92400e;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.eksneks-consent-required button:hover,
.eksneks-consent-required button:focus-visible {
  border-color: #78350f;
  background: #78350f;
  outline: 3px solid rgba(146, 64, 14, 0.28);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .eksneks-consent-modal {
    padding: 0.75rem;
  }

  .eksneks-consent-modal__dialog {
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    border-radius: 1.35rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .eksneks-consent-modal__actions {
    flex-direction: column-reverse;
  }

  .eksneks-consent-modal__button {
    width: 100%;
  }

  .eksneks-privacy-settings {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
