/*
 * Maintained site overrides loaded after the generated Webflow stylesheet.
 * Keep migration corrections here so future Webflow exports remain replaceable.
 */

/* Form status states */
.w-form-done.form-status-centered {
  align-items: center;
  justify-content: center;
  min-height: var(--form-status-height);
  padding: 0;
  background-color: transparent;
}

.w-form-done.form-status-centered > div {
  width: 100%;
  padding: 20px;
  background-color: #ddd;
}

.w-form-fail {
  text-align: left;
}

/* Homepage tabs */
.homepage-page .tabs-2 .tab-block.w--current {
  border: 0;
}

.homepage-page .tabs-2 .tab-block.w--current::after {
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid #000;
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

/* Pricing billing tabs */
@media screen and (max-width: 479px) {
  .pricing-page .tabs-menu {
    width: calc(100% - 32px);
    max-width: 341px;
  }

  .pricing-page .tab-link-tab-1 {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
    padding-left: 8px;
  }

  .pricing-page .text-block-32.first,
  .pricing-page .text-block-32.second {
    max-width: none;
    overflow: visible;
  }
}

/* Use-case hero layouts */
@media screen and (min-width: 992px) {
  .account-takeovers-page .uj-bg ._50-50-hero-info,
  .multi-accounting-page .uj-bg ._50-50-hero-info {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  }

  .account-takeovers-page .uj-bg .hero-info,
  .multi-accounting-page .uj-bg .hero-info {
    grid-area: 1 / 1 / 2 / 2;
  }

  .account-takeovers-page .uj-bg .ato-img,
  .multi-accounting-page .uj-bg .ato-img {
    grid-area: 1 / 2 / 2 / 3;
    width: 100%;
  }

  .account-takeovers-page .uj-bg .ato-full-img.tab-ato-img,
  .multi-accounting-page .uj-bg .ato-full-img.ma-ratio {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    margin-left: auto;
    margin-right: 0;
    object-fit: contain;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .account-takeovers-page .uj-bg .hero-info,
  .account-takeovers-page .uj-bg .graphic-bot {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .account-takeovers-page .uj-bg .graphic-bot {
    transform: translateY(24px);
  }

  .account-sharing-page .uj-bg .si-hero-img {
    transform: translateY(20px);
  }

  .synthetic-identities-page .uj-bg .si-hero-img {
    align-self: center !important;
  }
}
