/* Layout + shared styles for SSR compare-pricing (ports pricing/style.css bits + loader) */

.font-intersolo,
.\!font-intersolo {
  font-family: Inter, sans-serif !important;
}

.\!font-Inter,
.\!inter,
.\!font-inter {
  font-family: Inter, Arial, sans-serif !important;
}

.preload-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.loader-container:not(.active) {
  display: none;
}
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
}
.loader-container .overlay {
  position: absolute;
  background: black;
  opacity: 0.5;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.lds-ai {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
}
.lds-ai div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: lds-ai 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-ai div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.lds-ai div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.lds-ai div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}
@keyframes lds-ai {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}

.description-tooltip {
  border: 3px solid #2872fa;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  color: #333;
  padding: 5px;
  border-radius: 5px;
  width: fit-content;
  max-width: 320px;
  font-size: 11px;
  margin-top: -35px;
  box-shadow: 0 3px 15px -13px #000;
  display: none;
  line-height: 20px;
}
.hover-target {
  position: relative;
  cursor: pointer;
}
.hover-target:hover .description-tooltip {
  display: block;
}

.compare-grid > div {
  flex-wrap: wrap;
  align-content: center;
  color: #71717a;
}

.compare-grid-plan {
  text-align: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e4e4e7;
  min-height: 107px;
  font-weight: 700;
  padding: 8px 5px;
  margin: 0 2px;
}

.compare-grid-plan .compare-text {
  color: #18181b;
  display: flex;
  font-size: 16px;
  justify-content: center;
  margin: 8px 0;
}

.compare-grid-plan .compare-button {
  display: flex;
  font-size: 13px;
  padding: 6px 10px;
  width: 80%;
  line-height: normal;
  justify-content: center;
  justify-self: center;
  border-radius: 8px;
  margin-bottom: 6px;
  min-width: fit-content;
  height: 44px;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.compare-grid .compare-title {
  display: flex;
  text-align: left;
  height: 55px;
  font-size: 20px;
  color: #18181b;
  font-weight: 700;
  background-color: #fbfbfb;
  border-radius: 8px;
}

@media (min-width: 1024px) {
  .compare-grid-plan .compare-text {
    font-size: 20px;
    margin: 10px 0;
  }
  .compare-grid-plan .compare-button {
    font-size: 16px;
  }
}

.scrollbar-none {
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.enterprise-bg {
  background-image: url("../images/enterprise-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.compare-pricing-btn:disabled,
.compare-button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.plan-card-wrap[hidden],
.plan-slide[hidden],
.compare-grid-header-plan[hidden],
#enterprise-tab[hidden] {
  display: none !important;
}

/* Keep desktop grid / mobile swipe aligned with critical CSS */
@media (min-width: 769px) {
  #plans-swipe {
    display: none !important;
  }
  #plans-grid {
    display: flex !important;
  }
}
