html {
  background-color: #F6F6F6 !important;
}

#ladder-agent-dashboard {
  .column {
    display: flex;
    flex-direction: column;
  }

  .dashboard-root {
    background-color: #F6F6F6;
    width: 100%;
  }

  .page-container {
    display: flex;
    justify-content: center;
    width: 100%;

    @media (max-width: 1024px) /* mobile, tablet */ {
      flex-direction: column;
      padding: 5px 20px 0;
      align-items: flex-start;
    }
    @media (min-width: 500px) and (max-width: 1024px) /* tablet */ {
      max-width: 100%;
    }
    @media (min-width: 1025px) /* desktop */ {
      padding-top: 25px;
      align-items: center;
      position: relative;
      margin: 0 0% 0 8%;
      width: 60%;
      max-width: 800px;
      display: inline-block;
      float: left;
    }
  }

  .home {
    display: unset;
    width: 100%;
    height: 100%;
    min-height: 100vh;

    @media (max-width: 1024px) /* mobile, tablet */ {
      align-items: flex-start;
      justify-content: center;
    }
    @media (min-width: 1025px) /* desktop */ {
    }
  }

  .home.share-page-container {
    min-height: 1500px;
  }

  .home.settings-profile-page-container {
    min-height: 1200px;
  }

  .home.applications-page-container {
    min-height: 1650px;
  }

  .nav-bar-container {
    width: 300px;
    @media (min-width: 1025px) /* desktop */ {
      display: flex;
      position: sticky;
      top: 0px;
      flex-direction: column;
      align-items: center;
      border-radius: 24px;
      margin-left: clamp(10px, calc((50% - 750px/2 - 300px) / 2), 1000px);
      z-index: 100;
      float: left;
      margin-top: 30px;
    }
  }

  .footer-container {
    margin: 4em;
  }

  .mobile-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding-top: 5px;
    padding-bottom: 20px;
    @media (min-width: 1025px) /* desktop */ {
      display: none;
    }
  }

  .mobile-header .logo-container svg {
    @media (max-width: 499px) /* mobile */ {
      width: 33vw;
      height: 100%;
    }

    @media (min-width: 500px) and (max-width: 1024px) /* tablet */ {
      height: 40px;
    }

    /*@media (min-width: 1025px) !* desktop *! {*/
    /*    height: 56px;*/
    /*}*/
  }

  .mobile-header .help-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 45%;
    margin: 0.5em 0;
    padding: 0.5em 1em;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
    cursor: pointer;
    border: 1px solid #8E8E8E;
  }

  .accept-terms-modal {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
  }

  .welcome-to-ladder-card {
    display: flex;
    flex-direction: row;
    margin: 0.5em 0;
    padding: 1.5em;
    width: 100%;
    align-items: center;
    border-radius: 28px;
    justify-content: space-evenly;
    background-color: #F7DDC9;
    box-shadow: 0 5px 10px rgba(51, 46, 84, .05);
    min-height: 170px;
    @media (max-width: 1024px) /* mobile, tablet */ {
      flex-direction: column;
      justify-content: center;
      padding: 1em 1.5em;
    }
  }

  .welcome-to-ladder-card .welcome-image {
    max-width: 160px;
    max-height: 120px;
  }
}

/* navigation override if privacy modal is visible */
.root:has(.ladder_globals__PrivacyBanner-styles__root) #ladder-agent-dashboard .dashboard-root .nav-bar-container .nav-bar {
  @media (max-width: 1024px) {
    bottom: 7.2em;
  }
  @media (max-width: 415px) {
    bottom: 10em;
  }
}
.share-page {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  gap: 20px;
  @media (min-width: 1025px) /* desktop */ {
    margin-right: 40px;
  }
  @media (max-width: 1024px) /* mobile, tablet */ {
    align-items: center;
    width: 100%;
  }

  .tracking-link-section {
    display: flex;
    flex-direction: column;
    @media (min-width: 1025px) /* desktop */ {
      align-items: flex-start;
    }
    @media (max-width: 1024px) /* mobile, tablet */ {
      align-items: center;
    }
  }

  .share-page-menu {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;

    .menu-item {
      cursor: pointer;

      &.selected {
        border-bottom: 3px solid blue;
      }
    }
  }
}

/* from agents.dashboard.uxcommon */
.button-drop-shadow {
  filter: drop-shadow(0 3px 6px rgba(37, 112, 170, 0.25));
}

#ladder-agents-dashboard-share-page {
  .quoter-rules {
    max-width: 335px;
    @media (min-width: 1025px) /* desktop */ {
      max-width: 1100px;
    }
  }

  .quoter-and-app-button {
    @media (min-width: 1025px) /* desktop */ {
      display: flex;
      align-items: flex-start;
    }
  }

  .quoter-rules-container {
    margin: 15px 0 32px 0;
    max-width: 750px;
  }

  .quoter-rules-text {
    color: #6B7280;
    font-size: 11px;
    font-weight: 400;
    line-height: 17px;
    font-style: italic;
  }

  .section {
    background-color: #ffffff; /* colors/white */
    border-radius: 36px;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    @media (min-width: 1025px) /* desktop */ {
      padding: 30px 40px;
      max-width: 834px;
    }
    @media (max-width: 1024px) /* mobile, tablet */ {
      padding: 16px;
      margin-bottom: 8px;
    }
  }

  .quoter-copy {
    margin: 8px 0 32px 0;
  }

  .title-row {
    display: flex;
    justify-content: space-between;
  }

  .share-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 20px;

    .error-text {
      display: flex;
      width: 100%;
      justify-content: center;
    }

    .add-new-contact-link {
      display: flex;
      justify-content: center;
    }

    .quoter-button {
      width: 100%;
    }

    .explain-self-apply {
      margin-top: 10px;
    }
  }

  .quote-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    @media (max-width: 1024px) /* mobile, tablet */ {
      padding: 0 16px;
    }
  }
}

.quoter-and-app-button {
  .quoter-button-text {
    font-size: 15px;
  }

  .columns {
    @media (min-width: 1025px) /* desktop */ {
      display: flex;
      gap: 24px;
    }

    @media (max-width: 1300px) /* mobile, tablet */ {
      flex-wrap: wrap;
    }
  }

  .column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    @media (min-width: 1025px) /* desktop */ {
      width: 365px;
    }

    @media (max-width: 1300px) /* mobile, tablet */ {
        width: 100%;
        max-width: 100%;

        .ladder_agents_dashboard_inputs__single-select-options-styles__button {
          width: 50%;
        }
    }
  }

  .share-quote-form-container {
    display: flex;
    flex-direction: column;
    @media (min-width: 1025px) /* desktop */ {
      gap: 24px;
    }
    @media (max-width: 1024px) /* mobile, tablet */ {
      gap: 16px;
    }
  }

  .mobile-margin-top {
    @media (max-width: 1024px) /* mobile, tablet */ {
      margin-top: 16px;
    }
  }
}

.quote-response-container {
  display: flex;
  align-items: center;
  border-radius: 24px;
  min-height: 175px;
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.1);
  @media (min-width: 1025px) /* desktop */ {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 24px 34px 24px;
  }
  @media (max-width: 1024px) /* mobile, tablet */ {
    flex-direction: column;
    padding: 24px 16px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    @media (max-width: 1024px) /* mobile, tablet */ {
      width: 100%;
      margin-top: 24px;
      gap: 16px;
    }
  }

  .start-app-button-container {
    @media (min-width: 1025px) /* desktop */ {
      width: 316px;
    }
    @media (max-width: 1024px) /* mobile, tablet */ {
      width: 100%;
    }
  }

  .monthly-premium {
    display: flex;
    @media (min-width: 1025px) /* desktop */ {
      flex-direction: column;
      padding-left: 24px;
      gap: 12px;
    }
    @media (max-width: 1024px) /* mobile, tablet */ {
      width: 100%;
      align-items: center;
      justify-content: space-between;
    }
  }
}

.price-range-container {
  display: flex;
  flex-direction: column;
  gap: 8px;

  .prices-row {
    display: flex;
  }

  .cell {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 4px;

    &:first-child {
      background-color: rgb(232, 246, 245);
    }

    .label {
      display: flex;
      flex-direction: column;
      text-align: center;
    }
  }
}

.add-contact-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-around;
  padding-bottom: 10px;
  padding-top: 10px;
  align-items: center;
  @media (max-width: 1024px) /* mobile, tablet */ {
    width: 350px;
  }
  @media (min-width: 1025px) /* desktop */ {
    width: 600px;
  }
}

.add-contact-container .button {
  margin-top: 2em;
  width: 100%;
}

#button2.success-message  {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.4);
  filter: drop-shadow(2px 4px 6px black);
  color: white;
  padding: 1.6rem 2rem;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1000;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  display: flex;
}

#button2.success-message.show {
  opacity: 1;
}

#ladder-agents-quote-container {
  fieldset {
    border: 1px solid gray;
  }

  .icon {
    width: auto;
    height: 100%;
    max-height: 20px;
    margin-left: 10px;
  }

  .icon-info {
    color: #6c757d; /* :medium-gray */
  }

  .Results .button-container {
    max-width: 270px;
    width: 100%;
  }

  .Results .button {
    border-radius: 24px;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
  }

  .Results .outcome {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 24px;
  }

  .Results .outcome.green {
    background-color: #E5F6F5;
  }

  .Results .outcome-text.green {
    color: #01835E;
  }

  .Results .outcome.yellow {
    background-color: rgba(255, 199, 110, 0.1);
  }

  .Results .outcome-text.yellow {
    color: #AA5D00;
  }

  .Results .outcome.red {
    background-color: #FDF0F1;
  }

  .Results .outcome-text.red {
    color: #E71919;
  }

  .QuestionList {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 13px; /* Inherited by the Yes/No buttons */
  }

  /*
  ladder_ux_form__select-styles__remove-border ladder_ux_form__select-styles__border-container ladder_ux_form__select-styles__rungs ladder_ux_form__select-styles__height-m
  ladder_ux_form__select-styles__border-container ladder_ux_form__select-styles__rungs
   */

  .QuestionContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .QuestionContainer .height-weight-answer-row {
    display: flex;
    flex-direction: row;
  }

  .QuestionContainer .question-row {
    display: flex;
  }

  @media (min-width: 1025px) {
    .QuestionContainer .height-weight-answer-row {
      gap: 24px;
    }
  }

  @media (max-width: 1024px) {
    .QuestionContainer .height-weight-answer-row {
      justify-content: space-between;
      gap: 5px;
    }
  }

  .AnswerWeight,
  .AnswerHeight {
    flex: 1;
    max-width: 209px;
  }

  .AnswerYesOrNo {
    display: flex;
    flex-direction: row;
  }

  @media (max-width: 1024px) {
    .AnswerYesOrNo {
      width: 100%;
      gap: 5px;
      justify-content: space-between;
    }
  }

  @media (min-width: 1025px) {
    .AnswerYesOrNo {
      width: 442px;
      gap: 24px;
    }
  }

  .Results {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    gap: 16px;
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.1);
  }

  @media (min-width: 1025px) {
    .Results {
      padding: 24px 32px;
    }
  }

  @media (max-width: 1024px) {
    .Results {
      padding: 16px;
    }
  }

  .fitMeterContainer {
    width: 100%;
    max-width: calc(min(85%, 460px));
  }

  .fitMeterRow {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .fitMeterLabel {
    flex: 1;
    height: 20px;
    border-radius: 24px;
    max-width: 32%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    color: #333333;
    @media (max-width: 1024px) /* mobile, tablet */ {
      font-size: 10px;
    }
  }

  .fitMeterLabelRed {
    background-color: rgb(251, 241, 241);
  }

  .fitMeterLabelYellow {
    background-color: rgb(254, 250, 241);
  }

  .fitMeterLabelGreen {
    background-color: rgb(232, 246, 245);
  }

  .fitMeterTriangle {
    position: absolute;
    left: -50%;
    top: -10px;
    width: 10px;
    height: 10px;
    visibility: hidden;
    background-color: #333333;
    clip-path: path('M4.86603 6.5C4.48113 7.16667 3.51887 7.16667 3.13397 6.5L0.535899 2C0.150999 1.33333 0.632124 0.5 1.40192 0.5L6.59808 0.500001C7.36788 0.500001 7.849 1.33333 7.4641 2L4.86603 6.5Z')
  }

  .fitMeterRect {
    width: 4px;
    height: 32px;
    border-radius: 2px;
    position: relative;
  }

  .fitMeterRectRed {
    background-color: #ED6C74;
  }

  .fitMeterRectYellow {
    background-color: #FFC76E;
  }

  .fitMeterRectGreen {
    background-color: #00A997;
  }

  .fitMeterLowFit .fitMeterRect:nth-child(n+2) {
    opacity: 0.1;
  }

  .fitMeterLowFit .fitMeterRect:nth-child(1) .fitMeterTriangle {
    visibility: visible;
  }

  @media (min-width: 1025px) /* desktop */ {
    .fitMeterLowModerateFit .fitMeterRect:nth-child(n+14) {
      opacity: 0.1;
    }

    .fitMeterLowModerateFit .fitMeterRect:nth-child(13) .fitMeterTriangle {
      visibility: visible;
    }

    .fitMeterModerateFit .fitMeterRect:nth-child(n+16) {
      opacity: 0.1;
    }

    .fitMeterModerateFit .fitMeterRect:nth-child(15) .fitMeterTriangle {
      visibility: visible;
    }

    .fitMeterGoodFit .fitMeterRect:nth-child(n+25) {
      opacity: 0.1;
    }

    .fitMeterGoodFit .fitMeterRect:nth-child(24) .fitMeterTriangle {
      visibility: visible;
    }
  }

  @media (max-width: 1024px) /* mobile, tablet */ {
    .fitMeterRect:nth-child(8n+8) {
      display: none;
    }

    .fitMeterRect:nth-child(9n+9) {
      display: none;
    }

    .fitMeterLowModerateFit .fitMeterRect:nth-child(n+12) {
      opacity: 0.1;
    }

    .fitMeterLowModerateFit .fitMeterRect:nth-child(11) .fitMeterTriangle {
      visibility: visible;
    }

    .fitMeterModerateFit .fitMeterRect:nth-child(n+14) {
      opacity: 0.1;
    }

    .fitMeterModerateFit .fitMeterRect:nth-child(13) .fitMeterTriangle {
      visibility: visible;
    }

    .fitMeterGoodFit .fitMeterRect:nth-child(n+23) {
      opacity: 0.1;
    }

    .fitMeterGoodFit .fitMeterRect:nth-child(22) .fitMeterTriangle {
      visibility: visible;
    }
  }

  @media (max-width: 1024px) {
    .Results .outcome {
      padding: 8px;
    }
  }
}

#agent-dash-applications {
  width: calc(100% - 80px);
 .actionbar {
    position: sticky;
    display: flex;
    flex-direction: column;
    gap: 5px;
    top: -1px;
  }

 .start-referral-container {
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 50px;
    padding: 8px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
  }

 .referral-link {
    border: 1px solid grey;
    flex-shrink: 1;
    flex-grow: 1;
    display: flex;
    padding: 0px 5px 0px 20px;
    align-items: center;
    border-radius: 50px;
    gap: 10px;
    overflow: hidden;
  }

  .referral-link:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3);
  }

 .referral-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    flex-shrink: 1;
  }

 .referral-edge-items {
    flex-shrink: 0;
  }

 .application-search-input {
    width: 150px;
    border: 1px solid black;
    padding: 5px;
  }

 .button-circle {
    position: relative;
    width: 50px;
    height: 50px;
    background: #336FED;
    box-shadow: inset 5em 5em transparent;
    filter: drop-shadow(0 3px 6px rgba(37, 112, 170, 0.25));
    transition: box-shadow 0.3s, opacity 0.3s;
    border-radius: 50%
  }

 .button-circle.floating {
    width: 62px;
    height: 62px;
    box-shadow: inset 5em 5em transparent, inset 0 0 0 6px white;
  }


 .button-circle.floating:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3), inset 0 0 0 6px white;
  }

 .button-circle:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3);
  }

 .plus-horizontal {
    position: absolute;
    width: 21px;
    height: 3px;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

 .plus-vertical {
    position: absolute;
    width: 3px;
    height: 21px;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

 .start-app-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    padding-right: 100px;
  }

 .floating-action-bar-container {
    display: flex;
    flex-direction: row;
    width: 60%;
    max-width: 800px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0px;
    background: rgba(246,246,246,.9);
    padding: 20px 0px 20px 0px;
    border-bottom: 1px solid grey;
    opacity: 0;
    transition: opacity 0.3s ease-in-out 0.5s;
    z-index: 1000;

    @media (max-width: 1024px) /* mobile, tablet */ {
      width: calc(100% - 40px);
      max-width: 100%;
    }
  }

 .floating-action-bar-container.visible {
    opacity: 1;
    transition-delay: 0s;
  }

 .small-copy-button {
    border-radius: 50%;
    background-color: white;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }

 .small-copy-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }

 .copy-button {
    border-radius: 50%;
    background-color: white;
    width: 50px;
    height: 50px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    justify-content: center;
  }


 .copy-button.floating {
    width: 62px;
    height: 62px;
  }


 .copy-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }

 .floating-action-buttons-container {
    display: flex;
    gap: 10px;
  }

 .action-bar-container {
    opacity: 0;
    transition: opacity 0.3s ease-in-out 0.5s;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;

    @media (max-width: 38em) /* mobile, tablet */ {
      .referral-link {
        display: none;
      }
    }
  }

 .action-bar-container.visible {
    opacity: 1;
    transition-delay: 1s;
  }


 .dashed-page-break {
    width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(
    to right,
    #8E8E8E 0,
    #8E8E8E 8px,
    transparent 8px,
    transparent 16px
    );
  }

 .pagination-controls {
    display: flex;
    position: sticky;
    bottom: 0;
    flex-direction: row;
    padding: 20px 0 10px 0;
    width: 100%;
    background: linear-gradient(to top, #F4F4F4FF 0 75%, #F4F4F400);
    justify-content: space-between;
  }

 .application-cards-container {
   min-height: 70vh;
   display: flex;
   flex-direction: column;
   gap: 6px;
   margin-top: 12px;
   width: 100%;
  }

  .application-card {
    box-shadow: 0px 5px 10px rgba(51, 46, 84, 0.05);
    background-color: #FFFFFF;
    width: 100%;
    padding: 1.5em;
    justify-content: space-between;
    align-items: center;
    display: flex;
    border-radius: 28px;
    flex-direction: row;
    margin: 0.5em 0em;
    gap: 16px;

    @media (max-width: 1024px) /* mobile, tablet */ {
    }
    @media (max-width: 499px) /* mobile */ {
      flex-direction: column;
    }
    @media (min-width: 500px) and (max-width: 1024px) /* tablet */ {
    }
  }

  .application-card:hover {
    cursor: pointer;
  }

  .application-card-left-container,.application-card-right-container {
    display: flex;
    gap: 16px;
    flex-direction: column;
    width: 50%;

    @media (max-width: 499px) /* mobile */ {
      width: 100%;
    }
  }

  .application-card-right-container {
    align-items: end;
  }

  .name-timestamp-container {
    display: flex;
    gap: 10px;
    align-items: center;
  }

 .card-status-container {
   display: flex;
   flex-direction: column;
   gap: 8px;
 }

  .card-progress-block {
    width: 24%;
    height: 8px;
    border-radius: 15px;
    background-color: #CCCCCC
  }

  .card-progress-block.filled {
    background-color: blue;
  }

  .card-progress-bar {
    display: flex;
    gap: 5px;
  }

  .resume-button {
    width: 216px;
    height: 58px;
    text-wrap-mode: nowrap;
    background-color: rgb(51, 111, 237);
    border-color: rgb(51, 111, 237);
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    display: flex;
    @media (max-width: 499px) /* mobile */ {
      width: 100%;
    }
  }

  .load-more-button {
    background: #cccccc33;
    height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 40px;
    border-radius: 24px;
  }

  .resume-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3);
    transition: box-shadow 0.3s;
  }

  .mock-application-cards {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    gap: 6px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
  }

  .mock-application-card {
    height: 90px;
    background-color: #D9D9D9;
    margin: 0.5em 0em;
    width: 100%;
    opacity: 0.4;
    padding: 1.5em;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .loading-spinner {
    top: 150px;
    position: sticky;
    align-self: center;
  }

  .offer-expires {
    border-radius: 8px;
    background: #F7DDC9;
    display: inline-block;
    padding: 8px;
    
    .offer-expires-text {
      margin: 0;
      line-height: 0;
      display: contents;
    }

    b {
      font-weight: 700;
    }
  }
}

.root:has(.ladder_globals__PrivacyBanner-styles__root) #agent-dash-applications .pagination-controls{
  bottom: 50px;
}

#toast-container {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 10px;
  z-index: 1000;
  pointer-events: none;

  .toast-message {
    padding: .6rem 2rem;
    border-radius: 8px;
    border: 1px, solid;
    background-color: rgba(0,0,0,0.4);
    filter: drop-shadow(2px 4px 6px black);
    align-items: center;
    justify-content: center;
    display: flex;

    &.error{
      border-color: #f50505;
    }
    &.success{
      border-color: #02fa1f;
    }
    &.info{
      border-color: #ffffff;
    }
  }
}

#spinner2.spinner {
  height: 32px;
  width: 32px;
  border-color: transparent;
  border-bottom-color: #d0d0d0;
  border-radius: 50%;
  border-style: solid;
  border-width: 3px;
  animation: spin 1.1s infinite linear;
}

.agent-dashboard-back-button {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#ladder-agent-dashboard {
  .nav-bar-item {
    display: flex;
    @media (min-width: 1025px) /* desktop */ {
      gap: 3em;
      margin: 2em 6em 1em 0;
    }

    .vertical-item-bar {
      width: 5px;
      height: 41px;
      border-radius: 19px;
      background-color: transparent;
      @media (max-width: 1024px) /* mobile, tablet */ {
        display: none;
      }

      &.selected {
        background-color: #336FED;
      }
    }

    .icon-container {
      cursor: pointer;
      display: flex;
      @media (max-width: 1024px) /* mobile, tablet */ {
        height: 100%;
        justify-content: center;
      }
      @media (min-width: 1025px) /* desktop */ {
        width: 100%;
        align-items: center;
      }
    }

    .horizontal-item-bar {
      width: 27px;
      height: 4px;
      border-radius: 19px;
      background-color: transparent;
      @media (min-width: 1024px) /* desktop */ {
        display: none;
      }

      &.selected {
        background-color: #336FED;
      }
    }

    .padding {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      @media (min-width: 1025px) /* desktop */ {
        position: relative;
      }
    }

    .icon-and-text {
      display: flex;
      justify-content: center;
      gap: 1em;
    }

    .name-icon {
      display: flex;
      width: 100%;
      align-items: center;
      @media (min-width: 1025px) /* desktop */ {
        flex-direction: row-reverse;
        gap: 1em;
        justify-content: left;
      }
      @media (max-width: 1024px) /* mobile, tablet */ {
        flex-direction: column-reverse;
        justify-content: center;
        height: 100%;
      }
    }
  }

  .nav-bar {
    display: flex;
    align-items: center;
    box-shadow: 0 8px 13px rgba(51, 46, 84, .3);
    border-radius: 40px;
    @media (min-width: 1025px) /* desktop */ {
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      width: 300px;
      height: 800px;
      background-color: #FFFFFF;
      padding-bottom: 30px;
    }
    @media (max-width: 1024px) /* mobile, tablet */ {
      flex-direction: row;
      justify-content: space-around;
      position: fixed;
      bottom: 1em;
      left: 0;
      right: 0;
      width: 350px;
      height: 95px;
      z-index: 10;
      margin: 0 auto;
      background-color: #F3D7AA;
    }

    .logo-container {
      display: flex;
      margin: 2em;
      @media (max-width: 1024px) /* mobile, tablet */ {
        display: none;
      }

      svg {
        @media (max-width: 499px) /* mobile */ {
          width: 33vw;
          height: 100%;
        }
        @media (min-width: 500px) and (max-width: 1024px) /* tablet */ {
          height: 40px;
        }
        @media (min-width: 1025px) /* desktop */ {
          height: 56px;
        }
      }
    }

    .nav-items {
      display: flex;
      width: 100%;
      justify-content: space-around;
      @media (min-width: 1025px) /* desktop */ {
        flex-direction: column;
      }
      @media (max-width: 1024px) /* mobile, tablet */ {
        flex-direction: row;
        padding: 0.5em 2em;
        background-color: #FFFFFF;
        border-radius: 40px;
        align-items: center;
      }
    }

    .help-container {
      display: flex;
      justify-content: center;
      width: 80%;
      gap: 20px;
      margin: 0.5em auto;
      border: 1px solid #8E8E8E;
      align-items: center;
      padding: 1em 1.5em;
      cursor: pointer;
      border-radius: 28px;
      @media (max-width: 1024px) /* mobile, tablet */ {
        display: none;
      }
    }

    .button-container {
      width: 100%;
      @media (max-width: 499px) /* mobile */ {
        display: flex;
        height: 100%;
        justify-content: space-between;
        flex-direction: column;
      }
    }

    .uw-guidelines-box {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 34px;

      svg {
        margin-right: 8px;
      }

      @media (max-width: 1024px) /* mobile, tablet */ {
        width: 350px;
      }
      @media (min-width: 1025px) /* desktop */ {
        background-color: #F3D7AA;
      }
    }
  }

  .agent-help-modal {
    display: flex;
    flex-direction: column;
    gap: 15px;

    .help-bubbles {
      display: flex;
      flex-direction: column;
      @media (max-width: 499px) /* mobile */ {
        align-items: center;
      }
    }

    .help-bubble {
      display: flex;
      gap: 8px;
      margin: 0.5em 0;
      padding: 1em;
      border-radius: 28px;
      border: 1px solid #8E8E8E;
      width: 100%;
      @media (max-width: 499px) /* mobile */ {
        width: 90%;
      }
    }

    .help-modal-content {
      display: flex;
      @media (min-width: 500px) /* tablet, desktop */ {
        align-items: center;
      }
      @media (max-width: 499px) /* mobile */ {
        flex-direction: column;
        gap: 16px;
        margin-top: 8px;
      }

      > *:first-child {
        @media (min-width: 500px) /* tablet, desktop */ {
          width: 120px;
        }
      }
    }
  }
}

#application-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;

  .agent-dashboard-back-button {
    display: inline-flex;
  }

  .icon-link {
    display: flex;
    justify-content: center;
  }

  .application-card {
    position: relative;

    &.block {
      display: block;
      cursor: auto;

      .header {
        color: black;
        font-weight: 600;
        margin-bottom: 1rem;
        display: block;
      }

      .body-text {
        color: black;
        font-weight: 400;
        margin-bottom: 1rem;
        display: block;
      }

      .body-17 {
        color: black;
        font-weight: 400;
        line-height: 30px;
        display: block;
      }

      .contact-group {
        display: flex;
        gap: 24px;
        align-items: center;
        font-weight: 400;
        line-height: 30px;

        .email,
        .phone,
        .birthday {
          line-height: inherit;
          display: inline-flex;
        }

        span {
          display: flex;
          justify-content: center;
        }

        svg {
          margin-right: 8px;
          align-self: center;
        }

        /* mobile, tablet */
        @media (max-width: 1024px) {
          justify-content: flex-start;
          flex-wrap: wrap;
          gap: 16px;

          span {
            width: 100%;
            justify-content: flex-start;
          }
        }
      }

      &.app-details {
        .header {
          color: black;
          font-weight: 600;
          margin-bottom: 1.4rem;
          display: block;
        }
    
        .body-text {
          color: black;
          font-weight: 400;
          margin-bottom: 0;
          display: block;
        }
      }
    }
  }

  hr {
    margin: 1.4rem 0;
  }

  

  .app-details-group-container {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 1.4rem;

    .app-details-group {
      .body-text {
        color: #636363;
      }
    }

    /* mobile, tablet */
    @media (max-width: 1024px) {
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 16px;

      .app-details-group {
        width: 100%;
        justify-content: flex-start;

        .body-text {
          margin-bottom: 0;
        }
      }
    }
  }
  
  

  .riders-container {
    display: flex;
    flex-direction: column;
    .body-text {
      color: #636363;
    }
  }

  .terminal-status-text {
    position: absolute;
    right: 0;
    @media (max-width: 499px) /* mobile */ {
        position: relative;
        width: 100%;
        margin-bottom: .2rem;
        text-align: center;
        display: block;
        padding: 4px;
    }
  }

  .latest-status-container:has(.terminal-status-text) {
    .offer-expires {
      top: 2em;
      @media (max-width: 499px) /* mobile */ {
        top: 0;
      }
    }
  }

  .latest-status-container {
    position: relative;

    .offer-expires {
      position: absolute;
      right: 0;
    }

    @media (max-width: 499px) /* mobile */ {
      .offer-expires {
        position: relative;
        width: 100%;
        margin-bottom: 1.2rem;
        text-align: center;
        padding: 8px;
      }
    }

    .status-step {
      display: flex;
      align-items: self-start;
      gap: 24px;
      position: relative;
      min-height: 40px;

      &:last-child {
        height: auto;
        .body-text {
          margin-bottom: 0;
        }
      }

      &.active-step {
        .body-text {
          font-weight: 700;
        }
      }

      &.blue-svg {
        .body-text {
          color: #336FED;
        }

        svg {
          circle {
            fill: #336FED;
          }
        }
      }

      &.green-svg {
        .body-text {
          color: #01835E;
        }

        svg {
          circle {
            fill: #01835E;
          }
        }
      }

      &.grey-svg {
        .body-text {
          color: #8E8E8E;
        }

        svg {
          circle {
            fill: #8E8E8E;
          }
        }
      }

      &.blue-green-tail {
        &::before {
          background-color: #336FED;
        }

        &::after {
          background-color: #01835E;
        }
      }

      &.solid-blue-tail {
        &::before {
          background-color: #336FED;
        }

        &::after {
          background-color: #336FED;
        }
      }

      &.solid-grey-tail {
        &::before {
          background-color: #8E8E8E;
        }

        &::after {
          background-color: #8E8E8E;
        }
      }

      &.no-svg-tail {
        &::before {
          display: none !important;
        }

        &::after {
          display: none !important;
        }
      }

      svg {
        position: relative;
        z-index: 8;
        margin-top: 0.09rem;
      }

      .body-text {
        line-height: inherit;
      }

      .step-text-container {
        display: flex;
        flex-direction: row;
        gap: 3rem;
        align-items: center;
      }

      &::before {
        content: '';
        width: 2px;
        min-height: 30px;
        height: 100%;
        position: absolute;
        left: 5px;
        top: 12px;
        display: block;
        z-index: 5;
      }

      &::after {
        content: '';
        width: 1px;
        min-height: 30px;
        height: 100%;
        position: absolute;
        left: 7px;
        top: 12px;
        display: block;
      }
    }
  }

  .decline-reasons-card {
    display: flex;
    background-color: #F3D7AA;
    border-radius: 10px;
    padding: 24px;
    gap: 24px;
  }

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

  .megaphone-icon {
    flex-shrink: 0;
  }

  .active-step-container {
    display: flex;
    flex-direction: column;
  }

  .secondary-text {
    transform: translateX(1em);
    position: relative;
    margin: .8em 0;
    &:before {
      content: '•';
      position: absolute;
      top: 0;
      left: 0;
    }

    padding-left: 1rem;
  }

  .decline-share-container {
    display: flex;
    gap: 10px;
    align-items: center;
  }
}


#search-input {
  .search-bar {
    max-width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 21px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: max-width 500ms ease-in-out;
    overflow: hidden;
  }

  .search-bar.left {
    flex-direction: row-reverse;
    padding-left: 15px;
  }

  .search-bar.expanded {
    max-width: 340px;
  }

  .search-button {
    padding: 12px;
    border-radius: 50%;
    display: flex;
  }

  .search-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }

  .search-input {
    width: 100%;
    font-size: medium;
    font-family: Helvetica, Arial, sans-serif;
  }

  .inner-search-container {
    display: flex;
    width: 100%
  }

  .clear-button {
    border-radius: 50%;
    display: flex;
    padding: 8px;
    margin-right: 5px;
  }

  .clear-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }
}


.agent-settings-page {
  display: flex;
  flex-direction: column;
  align-self: center;
  padding-top: 4em;
  width: 100%;
  @media (max-width: 1024px) /* mobile, tablet */ {
    padding: 4em 0;
  }

  .settings-row {
    display: flex;
    flex-direction: row;
    gap: 2em;
    align-items: center;
    width: 600px;
    min-width: 32em;
    height: 84px;
    margin-top: 1em;
    padding: 1em 1.5em 1em;
    border-radius: 24px;
    border-width: 1px;
    background-color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

    @media (max-width: 1024px) /* mobile, tablet */ {
      width: 100%;
      min-width: 23em;
      gap: 1em;
    }

    @media (max-width: 499px) /* mobile */ {
      width: 100%;
      min-width: auto;
    }
  }
}

.agent-resources-page {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 5em;
  width: 100%;

  .dropdown-listitem {
    display: flex;
    align-items: center;
    width: 600px;
    height: 80px;
    gap: 2em;
    padding: 1em 1.5em;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    @media (max-width: 1024px) /* mobile, tablet */ {
      width: 100%;
    }

    .circle-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      min-height: 44px;
      border-radius: 50%;
      font-size: 18px;
    }

    .dropdown-icon {
      margin-left: auto;
    }
  }

  .heading-item {
    height: 84px;
    cursor: pointer;
    @media (max-width: 499px) /* mobile */ {
      height: 112px;
    }
  }

  .dropdown-list > *:first-child {
    border-radius: 24px 24px 0 0;
  }

  .dropdown-list > *:last-child {
    border-radius: 0 0 24px 24px;
  }

  .content-item {
    border-top: 1px solid lightgray;

    .text-link:hover {
      text-decoration: underline;
    }
  }
}

.agent-settings-profile-page {
  align-self: center;
  width: 100%;

  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4em 0 2em;
  }

  .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
    margin-top: 8px;
  }

  .share-contact-slider-container {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }

  .share-phone-number-type {
    margin: 1em 0;
  }

  .phone-with-ext {
    display: flex;
    align-items: center;
    margin-top: 1em;
    padding: 1em;
    width: 100%;
    height: 70px;
    border: 1px solid #ccc;
    border-radius: 24px;
    background-color: white;

    .input {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .phone {
      flex: 2;
    }

    .ext {
      flex: 1;
    }

    .input-label {
      color: grey;
      font-size: 12px;
      padding: 1px 2px;
      margin-bottom: 1em;
    }
  }

  .save-changes-button {
    border-radius: 24px;
    margin-top: 2em;
    margin-bottom: 2em;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
  }

  .updated-email-reminder-text {
    margin: 2em 0;
  }
}

.agent-settings-support-page {
  .heading {
    margin: 64px 0;
  }

  .schedule-call-button {
    margin-top: 64px;
  }
}

.ladder-apply-core.root {
  display: flex;
  flex-direction: column;
}

.ladder-apply-core .embedded {
  display: flex;
  flex: 1;
}

.ladder-apply-core .sticky {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: sticky;
  top: calc(var(--header-height-desktop)*1px);
  z-index: var(--z-index-header-underlay);

  @media (min-width: 500px) and (max-width: 1024px) { /* tablet */
    top: calc(var(--header-height-tablet)*1px);
  }
  @media (max-width: 499px) { /* mobile */
    top: calc(var(--header-height-mobile)*1px);
  }
}

