/* ThorX Suite analytics consent banner */

.thorx-consent,
.thorx-consent * {
  box-sizing: border-box;
}

.thorx-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  padding: 16px;
  transform: translateY(110%);
  transition: transform 180ms ease;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.thorx-consent--visible {
  transform: translateY(0);
}

.thorx-consent__inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(10, 18, 28, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color: #f7fbff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.thorx-consent__copy {
  flex: 1 1 auto;
}

.thorx-consent__copy h2 {
  margin: 0 0 6px;
  color: inherit;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.thorx-consent__copy p {
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.thorx-consent__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thorx-consent__button,
.thorx-consent-manage {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.thorx-consent__button {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.thorx-consent__button--primary {
  background: #dff6ff;
  color: #08131d;
}

.thorx-consent__button--secondary {
  background: transparent;
  color: #f7fbff;
  border: 1px solid rgba(247, 251, 255, 0.30);
}

.thorx-consent__button:focus-visible,
.thorx-consent-manage:focus-visible {
  outline: 3px solid rgba(180, 235, 255, 0.95);
  outline-offset: 3px;
}

.thorx-consent-manage {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 2147482000;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(10, 18, 28, 0.90);
  color: rgba(247, 251, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 720px) {
  .thorx-consent {
    padding: 10px;
  }

  .thorx-consent__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .thorx-consent__actions {
    width: 100%;
  }

  .thorx-consent__button {
    flex: 1 1 160px;
  }
}

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