/**
 * @file
 * Styles for the Assess HAE Impact page.
 */

/* Page-specific styles for assess-hae-impact.html.twig */

/* Hero Section */

.assess-hae-hero {
  position: relative;
  padding: 0;
  min-height: 500px;

  .hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .header-hero-container {
    padding-block: 60px;
    justify-content: flex-start;

    .header-hero-title {
      margin-bottom: 0;

      .header-hero-title-main {
        color: #1d2d3a;
        font-size: 26px;
        font-family: Agenda;
        font-weight: 400;
        line-height: normal;
        text-shadow: none;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: var(--color-charchol, #1D2D3A);
      }

      .header-hero-title-sub {
        font-family: Tilt Neon;
        font-size: 48px;
        font-weight: 400;
        line-height: 54px;
        text-shadow: none;
        margin-bottom: 0;
        max-width: 720px;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: var(--color-charchol, #1D2D3A);

        .special-not {
          -webkit-text-stroke-width: 1px;
          -webkit-text-stroke-color: var(--color-secondary);
          font-weight: 400;
          opacity: 1;
          animation: blinkThreeTimes 6s ease-in-out forwards;
        }
      }
    }
  }
}

@keyframes blinkThreeTimes {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  20% {
    opacity: 0;
  }

  /* Blink 1 */
  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  /* Blink 2 */
  50% {
    opacity: 1;
  }

  60% {
    opacity: 0;
  }

  /* Blink 3 */
  70% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    color: transparent;
  }
}

/* Hero image styles */
.assess-hae-hero .hero__background img {
  height: 100%;
  width: 100%;
}

.assess-hae-hero .hero__background .hero__bg-image {
  object-position: 50.03% 49.34%;
}


.desktop-img {
  display: block;
}

.mobile-img {
  display: none;
}

/* Section Styles */
.section--clinical {
  padding: 3.75rem 0;
  position: relative;
}

.section__decoration {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.section__text {
  font-size: 20px;
  line-height: normal;
  text-align: left;
  margin: 0px;
}

/* Cards Grid */
.cards--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cards--assessment .card {
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.cards--burden .card {
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.card__gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.card__gradient-layer--primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.card__gradient-layer--secondary {
  background: linear-gradient(45deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
}

.card__content {
  position: relative;
  z-index: 1;
}

.card__image {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.card__text {
  color: white;
  font-size: 1rem;
  line-height: 1.2;
}

/* Patient Burden Section */
.section--burden {
  padding: 60px 0;
  background-image: url(../../images/pages/dawnzera-results/circle-desktop.svg);
  background-repeat: no-repeat;
  background-position: right center;
  box-shadow: 0 8px 24px -4px rgba(81, 88, 97, 0.16);

  @media (max-width: 600px) {
    background: none;
  }

  @media (max-width: 768px) {
    padding: 40px 0px 0px 0px;
  }

  .section__container {
    /* padding: 0px; */
    display: flex;
    gap: 40px;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
  }
}

.card--burden {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card__highlight {
  font-weight: bold;
  color: #007bff;
}

/* AECT Section */
.section--aect {
  padding: 4rem 0;
}

.aect-tool__description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.aect-tool__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #e9ecef;
  border-radius: 8px;
}

.aect-tool__fpo {
  font-size: 2rem;
  font-weight: bold;
  color: #6c757d;
}

/* References Section */
.section--references {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.references__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.references__list {
  list-style: decimal;
  padding-left: 2rem;
}

.references__item {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Navigation Styles */
.nav--anchor {
  background: #007bff;
  padding: 1rem 0;
}

.nav--anchor .nav__container {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav__anchor {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav__anchor:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.section--clinical,
.aect-section,
.main-section--confidence,
.small-pipe-section,
.dawnzera-callout-wrapper {
  background: linear-gradient(rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.6)),
    url("../../images/backgrounds/hcp-wall-texture.png") repeat-y center top;
  background-size: cover;
}

.main-section--confidence {
  padding-bottom: 60px;

  @media (max-width: 768px) {
    padding-bottom: 40px;
  }
}

.section--clinical {
  display: flex;
  flex-direction: row;
  align-items: flex-start;

  .section__container {
    max-width: 1200px;

    .cards {
      margin-top: 2.5rem;
    }
  }
}

.section__container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding: 0 var(--container-padding);

  .section__header {
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    gap: 24px;

    .section__title {
      text-align: start;
      color: var(--White, white);
      font-size: 20px;
      font-family: Agenda;
      font-weight: 700;
      word-wrap: break-word;
      max-width: fit-content;
      background-color: var(--color-coral);
      border-radius: 4px;
      padding: 5px 12px 3px 12px;
      margin-bottom: 0px;
    }

    .section__subtitle {
      color: var(--CHARCOAL, #1d2d3a);
      font-size: 40px;
      font-family: Tilt Neon;
      font-weight: 400;
      word-wrap: break-word;
      margin: 0;
      max-width: 1194px;
      text-align: start;
      line-height: normal;

      @media (max-width: 768px) {
        font-size: 28px;
      }

      sup {
        font-size: 60%;
        top: -0.46em;
      }
    }
  }

  .cards--grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
  }

  .cards--assessment {
    .card {
      padding: 62px 24px 24px;
      min-width: 282px;
      box-shadow: -2px 2px 22px 10px rgba(0, 0, 0, 0.1);

      .card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        img {
          max-width: 80px;
        }

        .card__text {
          color: var(--CHARCOAL, #1d2d3a);
          font-size: 20px;
          font-family: Agenda;
          font-weight: 400;
          word-wrap: break-word;

          sup {
            font-size: 60%;
            top: -0.46em;
          }
        }
      }
    }
  }

  .burden-footnote {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
  }

  .survey-section {
    display: flex;
    gap: 43px;
    align-items: center;
    justify-content: center;

    @media (max-width: 768px) {
      flex-direction: column;
      gap: 0px;
      margin-top: 0px;
    }

    .survey-report {
      margin-top: 0px;
    }

    .survey-percentage {
      color: var(--Coral, #f16b50);
      font-size: 190px;
      font-style: normal;
      font-weight: 700;
      line-height: 0.8;
      margin: 0px;

      sup {
        top: -0.35em;
      }

      @media (max-width: 768px) {
        font-size: 120px;
        text-align: center;
        line-height: normal;
      }
    }

    .survey-percentage-text {
      line-height: normal;
      margin: 0 0px 0px 70px;
      width: 279px;
      font-size: 20px;

      @media (max-width: 768px) {
        font-size: 22px;
        margin: 0px;
        width: 327px;
        text-align: center;
      }
    }

    .survey-percentage-text br {
      display: none;

      @media (min-width: 768px) {
        display: inline;
      }
    }

    .survey-report-text1,
    .survey-report-text3 {
      list-style: normal;
      margin: 0px;
      font-size: 20px;
      line-height: normal;

      @media (max-width: 768px) {
        font-size: 22px;
        text-align: center;
      }
    }

    .survey-report-text2 {
      color: var(--color-coral, #f16b50);
      font-family: var(--font-agenda);
      font-size: 60px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      margin: 0px;

      @media (max-width: 768px) {
        text-align: center;
      }
    }
  }

  .cards--burden {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;

    @media (max-width: 768px) {
      max-width: 327px;
    }

    .card {
      display: flex;
      padding: 62px 24px 24px;
      box-shadow: -2px 2px 22px 10px rgba(0, 0, 0, 0.1);
      justify-content: center;

      .card__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 16px;

        @media (max-width: 768px) {
          padding: 0px;
        }

        .card-image-container {
          display: flex;
          justify-content: space-between;
          align-items: center;

          @media (max-width: 768px) {
            flex-direction: column;
          }

          .img-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            img {
              width: 100px;
              height: 100px;
            }

            .image__text {
              font-weight: 700;
              margin-bottom: 0;
              font-size: 26px;

              @media (max-width: 768px) {
                font-size: 22px;
              }
            }
          }
        }

        .card__text {
          color: var(--color-charcol, #1d2d3a);
          font-size: 26px;
          font-family: Agenda;
          font-weight: 400;
          word-wrap: break-word;
          text-align: center;
          margin-bottom: 40px;

          @media (max-width: 768px) {
            font-size: 22px;
          }
        }
      }
    }
  }

  .card--clinical {
    .card__gradient {
      z-index: 0;
    }

    .card__gradient-layer--primary {
      height: 32px;
      background: linear-gradient(90deg,
          #dee1e3 0%,
          #fffbe6 25%,
          #d4cbbf 60%,
          #edecec 80%,
          #d6d4ba 100%);
    }

    .card__gradient-layer--secondary {
      height: 6px;
      background: var(--CHARCOAL, #1d2d3a);
    }
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero--interior .hero__title {
    font-size: 2rem;
  }

  .hero--interior .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .cards--grid {
    grid-template-columns: 1fr;
  }

  .cards--burden {
    grid-template-columns: 1fr;
  }

  .nav--anchor .nav__container {
    flex-direction: column;
    gap: 1rem;
  }

  .section--clinical {
    padding: 2.5rem 0;

    .decorative_pipe {
      display: none;
    }

    .section__container {
      .section__header {
        .section__subtitle {
          font-size: 28px;
        }
      }

      .cards--grid {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 1.5rem;
      }

      .cards--assessment .card {
        width: 100%;
        min-width: 0;
      }

      .cards--burden .card {
        width: 100%;
        max-width: none;
      }
    }
  }
}

@media (min-width: 1440px) {
  .section--clinical .section__container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1440px) {
  .section--clinical .section__container .cards--grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }

  .section--clinical .section__container .cards--assessment .card {
    min-width: 282px;
  }
}

.navbar-internal.getting-started-nav-links {
  position: sticky;
  z-index: 1019;
  background: white;
  top: 152px;
}

.navbar-internal.getting-started-nav-links a {
  font-size: 20px;
  display: block;
  text-transform: none;
}

.nav-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 24px;
}

.navbar-internal.getting-started-nav-links .navbar-internal__link {
  text-align: center;
}

/* Active link styles */
.navbar-internal.getting-started-nav-links .navbar-internal__link.tag-active {
  padding: 8px 12px;
  background: var(--Coral, #f16b50);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  margin: auto 0;
}

/* Dropdown toggle styles */
.dropdown-toggle {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.dropdown-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-arrow {
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.dropdown-toggle-btn.active .dropdown-arrow {
  transform: rotate(-90deg);
}

@media (min-width: 991px) {
  .getting-started-nav-links {
    display: flex;
    align-items: center;
  }

  .nav-header {
    display: none;
  }

  .mobile-dropdown-content {
    display: none;
  }

  .desktop-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  .navbar-internal__link {
    padding: 8px 12px;
    text-decoration: none;
    color: var(--CHARCOAL, #1d2d3a);
    font-weight: 400;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    border-radius: 8px;
  }

  .navbar-internal__link:last-child {
    border-right: none;
  }

  .navbar-internal__link:hover {
    background-color: #f8f9fa;
    color: #333;
  }

  .navbar-internal__link.tag-active {
    background: var(--Coral, #f16b50);
    color: white;
  }

  .navbar-internal.getting-started-nav-links .navbar-internal__link,
  .navbar-internal.getting-started-nav-links .navbar-internal__link.tag-active {
    flex: initial;
    margin-right: 0;
  }
}

@media (max-width: 990px) {
  .navbar-internal.getting-started-nav-links {
    top: 72px;
    padding: 0;
  }

  .getting-started-nav-links {
    display: flex;
    flex-direction: column;
  }

  .desktop-links {
    display: none;
  }

  /* Mobile dropdown content */
  .mobile-dropdown-content {
    display: none;
    background: white;
    width: 100%;
  }

  .mobile-dropdown-content.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 8px 24px;
    gap: 16px;
  }

  .mobile-dropdown-single-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .mobile-dropdown-content .navbar-internal__link {
    display: block;
    padding: 8px 12px 4px 12px;
    text-decoration: none;
    color: var(--STEEL, #515861);
    font-weight: 400;
    transition: background-color 0.2s ease;
    text-align: center;
    flex: 1;
    margin-right: 48px;
    background: white;
  }

  .mobile-dropdown-content .navbar-internal__link:hover {
    background-color: #f8f9fa;
    color: #333;
  }

  .mobile-dropdown-content .navbar-internal__link.tag-active {
    background: var(--Coral, #f16b50);
    color: white;
    font-weight: 700;
  }

  .navbar-internal.getting-started-nav-links .navbar-internal__link,
  .navbar-internal.getting-started-nav-links .navbar-internal__link.tag-active {
    flex: 1;
    margin-right: 48px;
  }

  .navbar-internal.getting-started-nav-links:has(.mobile-dropdown-content.active) {
    padding: 0;
    border-radius: 0;
    gap: 0;
    background: white;
  }

  .assess-hae-hero {
    min-height: 440px;

    .header-hero-container {
      padding-block: 40px;

      .header-hero-title {
        .header-hero-title-main {
          font-size: 20px;
          margin-bottom: 16px;
        }

        .header-hero-title-sub {
          font-size: 36px;
          max-width: 327px;
        }
      }
    }

    .hero__background img {
      height: 100%;
    }
  }

  .desktop-img {
    display: none;
  }

  .mobile-img {
    display: block;
  }
}

@media (min-width: 1440px) {
  .section--clinical .section__container {
    padding-left: 0;
    padding-right: 0;
  }
}

.aect-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.aect-layout,
.aect-tool-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 51px;
}

.aect-tool-wrapper {
  margin-top: 120px;
}

.neon_pipe {
  display: block;
  width: 69px;
  aspect-ratio: 13/72;
}

.neon_pipe_2 {
  height: 600px;
  width: 69px;
}

.aect-top-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aect-tool {
  width: 100%;
}

.aect-header {
  text-align: left;
  margin-bottom: 0;
}

.aect-label {
  background: var(--color-coral);
  color: white;
  padding: 5px 12px 3px 12px;
  border-radius: 4px;
  font-size: 1.25rem;
  font-weight: 700;
}

.aect-title {
  color: var(--CHARCOAL, #1d2d3a);
  font-family: var(--Font-H2, "Tilt Neon");
  font-size: var(--Size-H2, 40px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 0;
}

.aect-description {
  color: var(--CHARCOAL, #1d2d3a);
  font-family: var(--Font-Body, Agenda);
  font-size: var(--Size-Body, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
  max-width: 1200px;
  width: 100%;
}

.aect-list {
  margin-bottom: 0;
}

.aect__item {
  font-size: 20px;
  line-height: normal;
  margin-bottom: 0;
}

.aect__item::marker {
  color: var(--Coral, #f16b50);
}

.aect-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ask-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 0;
}

.ask-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ask-image {
  width: 100px;
  aspect-ratio: 10 / 9;
}

.ask-title {
  color: var(--Coral, #f16b50);
  font-family: var(--Font-H3, "Tilt Neon");
  font-size: var(--Size-H3, 32px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.ask-question {
  color: var(--CHARCOAL, #1d2d3a);
  font-family: var(--Font-H3, "Tilt Neon");
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media (max-width: 991px) {
  .aect-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .aect-layout {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .aect-tool-wrapper {
    margin-top: 40px;
  }

  .neon_pipe,
  .neon_pipe_2 {
    display: none;
  }

  .aect-content {
    text-align: left;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .aect-title {
    font-size: 28px;
    max-width: 327px;
  }

  .aect-description {
    font-size: 20px;
    max-width: 327px;
  }

  .aect-list {
    padding-left: 20px;
  }

  .ask-section {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
  }

  .ask-image {
    width: 100px;
    aspect-ratio: 10 / 9;
  }

  .ask-content {
    width: 100%;
  }

  .ask-title {
    font-size: 24px;
  }

  .ask-question {
    font-size: 24px;
  }
}

.aect-practice-box {
  padding: 40px;
}

.event_3 {
  border-radius: 22px;
  border: 2px solid #f59785;
  max-width: 792px;
  margin: 60px auto;
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-bottom: 0;
}

.event_4 {
  border-radius: 20px;
  border: 2px solid #fde5e0;
  background: #fff;
}

.event_5 {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 8px 0 #c94808 inset, 0 0 8px 0 #e08a67 inset;
}

.aect-practice-title {
  font-family: var(--Font-H3, "Tilt Neon");
  font-size: var(--Size-H3, 32px);
  font-weight: 400;
  color: #f16b50;
  line-height: normal;
  text-align: center;
  margin-bottom: 24px;
}

.aect-practice-text {
  color: var(--CHARCOAL, #1d2d3a);
  text-align: center;
  font-family: var(--Font-Body, Agenda);
  font-size: var(--Size-Body, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 32px;
}

.aect-practice-button {
  display: flex;
  background-color: #f16b50;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--Font-Body, Agenda);
  line-height: normal;
  height: 48px;
  width: fit-content;
  padding: 12px 16px 10px 24px;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-icon {
  margin-left: 8px;
  font-size: 18px;
}

.aect-practice-footnote {
  color: var(--CHARCOAL, #1d2d3a);
  font-family: Agenda;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 24px;
  text-align: left;
}

@media (max-width: 991px) {
  .aect-practice-title {
    font-size: 24px;
  }

  .aect-practice-box {
    padding: 30px;
  }

  .event_3 {
    max-width: 315px;
  }

  .aect-practice-button {
    display: flex;
    padding: 12px 16px 10px 24px;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border-radius: 999px;
    max-width: 251px;
    height: 70px;
  }

  .aect-practice-footnote {
    max-width: 251px;
    height: 95px;
  }
}

.section--confidence {
  background-color: var(--color-primary);
  padding: 2.5rem;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
  margin: 0 auto;
  border-radius: 24px;
  max-width: 88%;

  @media (min-width: 1300px) {
    max-width: 1200px;
  }
}

.confidence__content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.confidence__subtitle {
  font-family: var(--font-tilt-neon);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 32px;
}

.confidence__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto;

  @media (min-width: 1086px) {
    flex-direction: column;
  }
}

.confidence__button-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}

.confidence__button-row .btn {
  font-family: var(--font-agenda);
  flex: 1 1 320px;
  align-items: center;
  align-self: stretch;
  height: auto;
  padding: 12px 16px 10px 24px;
  line-height: 1.4;
  justify-content: center;
}

.confidence__button-row .btn:hover {
  border-color: var(--color-primary);
  background-color: #fceee7;
  text-decoration: none;
  color: var(--color-primary);
}

.confidence__button-row .patient_button {
  justify-content: center;
  max-width: 502px;
  border: none;
  flex: 1;
  width: auto;
  white-space: normal;

  @media (max-width: 768px) {
    white-space: collapse;
  }

  img {
    width: 24px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .section--confidence {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .small-pipe-section {
    display: block;
    padding-top: 40px;
  }

  .small-pipe-asset {
    margin-bottom: 0;
    width: 100%;

    .small-pipe-asset-with {
      width: 93%;
    }
  }

  .confidence__container {
    padding: 0;
  }

  .confidence__subtitle {
    font-size: var(--Size-H3, 24px);
    margin-bottom: 32px;
    line-height: normal;
    text-align: center;
  }

  .confidence__button-row {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .confidence__button-row .btn {
    width: 100%;
    padding: 12px 16px 10px 24px;
    border-radius: 999px;
    height: 48px;
    text-align: left;
    box-sizing: border-box;
    justify-content: space-between;
    line-height: normal;
    gap: 0px;
  }

  .confidence__button-row .btn img {
    flex-shrink: 0;
  }
}

.ahi_image {
  font-size: 26px;
}

.ahi_image_container {
  gap: 36px;
}

@media (max-width: 425px) {
  .section--confidence {
    margin-inline: 24px;
  }
}

.card-burden-middle {
  flex: 1;
  border-radius: 24px;
  box-shadow: 0 8px 24px -4px rgba(81, 88, 97, 0.16);

  .card-burder-middle-gradient {
    height: 32px;
    background: linear-gradient(90deg,
        #dee1e3 0%,
        #fffbe6 25%,
        #d4cbbf 60%,
        #edecec 80%,
        #d6d4ba 100%);
    border-bottom: 6px solid var(--color-charcol);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .card-burder-middle-gradient-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    background: var(--color-white);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;

    @media (max-width: 600px) {
      padding: 24px;
    }

    .card-burder-middle-gradient-body-title {
      font-size: 26px;
      line-height: normal;
      color: var(--color-charcol);
      text-align: center;

      @media (max-width: 600px) {
        font-size: 22px;
      }
    }

    .card-burder-middle-gradient-body-cards {
      display: flex;
      justify-content: space-between;

      @media (max-width: 600px) {
        flex-direction: column;
        gap: 40px;
      }

      .card-burder-middle-gradient-body-card {
        display: flex;
        flex-direction: column;
        /* flex: 1; */
        justify-content: center;
        align-items: center;
      }

      .card__image {
        width: fit-content;
      }

      .image__text {
        font-size: 26px;
        font-weight: 700;
        line-height: normal;
        text-align: center;

        @media (max-width: 600px) {
          font-size: 22px;
        }
      }
    }
  }
}

.mobile-bg {
  @media (min-width: 600px) {
    display: none;
  }

  img {
    margin: 0 auto;
  }
}

.dawnzera {
  .patient-tool-right {
    @media (max-width: 600px) {
      margin-top: 0px;
      padding: 24px 16px;
    }
  }
}

.patient-tool-v2-form .patient-tool-layout {
  .fieldset-legend {
    line-height: normal;
  }
}

.aect-tool .dawnzera .patient-tool-v2-form {
    max-width: 88%;

    @media (min-width: 1300px) {
      max-width: 1200px;
    }
}

.step-1 {
  .close-btn {
    img {
      display: none;
    }
  }
}

.mobile-only {
  display: none;

  @media (max-width: 767px) {
    display: block;
    margin-top: -30px;
  }
}

.aect-badge {
  margin-top: 5px;
}

.aect-practice-button:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
}

.ahe-sup {
  top: -0.46em;
  font-size: 60%;
}

@media (min-width: 1024px) {
  .patient-tool-right.step-1.js-form-wrapper.form-wrapper {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .patient-tool-right.step-1.js-form-wrapper.form-wrapper {
    padding: 24px 16px;
  }
}

.close-wrapper {
  display: none;
}
