.ladder-apply-progress-bar {
    display: flex;
    width: 100%;
}
    @media(max-width: 499px) {.ladder-apply-progress-bar {
        user-select: none
}
    }

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

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

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

#ladder-agent-dashboard .page-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .page-container {
      flex-direction: column;
      padding: 5px 20px 0;
      align-items: flex-start
  }
    }

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

#ladder-agent-dashboard .page-container {
      max-width: 100%
  }
    }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .page-container {
      padding-top: 25px;
      align-items: center;
      position: relative;
      margin: 0 0% 0 8%;
      width: 60%;
      max-width: 800px;
      display: inline-block;
      float: left
  }
    }

#ladder-agent-dashboard .home {
    display: unset;
    width: 100%;
    height: 100%;
    min-height: 100vh;
  }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .home {
      align-items: flex-start;
      justify-content: center
  }
    }

@media (min-width: 1025px) /* desktop */ {
    }

#ladder-agent-dashboard .home.share-page-container {
    min-height: 1500px;
  }

#ladder-agent-dashboard .home.settings-profile-page-container {
    min-height: 1200px;
  }

#ladder-agent-dashboard .home.applications-page-container {
    min-height: 1650px;
  }

#ladder-agent-dashboard .nav-bar-container {
    width: 300px;
  }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar-container {
      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
  }
    }

#ladder-agent-dashboard .footer-container {
    margin: 4em;
  }

#ladder-agent-dashboard .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 */ {

#ladder-agent-dashboard .mobile-header {
      display: none
  }
    }

#ladder-agent-dashboard .mobile-header .logo-container svg {

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

@media (max-width: 499px) /* mobile */ {

#ladder-agent-dashboard .mobile-header .logo-container svg {
      width: 33vw;
      height: 100%
  }
    }

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

#ladder-agent-dashboard .mobile-header .logo-container svg {
      height: 40px
  }
    }

#ladder-agent-dashboard .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;
  }

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

#ladder-agent-dashboard .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 */ {

#ladder-agent-dashboard .welcome-to-ladder-card {
      flex-direction: column;
      justify-content: center;
      padding: 1em 1.5em
  }
    }

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

/* navigation override if privacy modal is visible */
@media (max-width: 1024px) {
.root:has(.ladder_globals__PrivacyBanner-styles__root) #ladder-agent-dashboard .dashboard-root .nav-bar-container .nav-bar {
    bottom: 7.2em
}
  }
@media (max-width: 415px) {
.root:has(.ladder_globals__PrivacyBanner-styles__root) #ladder-agent-dashboard .dashboard-root .nav-bar-container .nav-bar {
    bottom: 10em
}
  }
.share-page {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  gap: 20px;
}
  @media (min-width: 1025px) /* desktop */ {.share-page {
    margin-right: 40px
}
  }
  @media (max-width: 1024px) /* mobile, tablet */ {.share-page {
    align-items: center;
    width: 100%
}
  }
  .share-page .tracking-link-section {
    display: flex;
    flex-direction: column;
  }
  @media (min-width: 1025px) /* desktop */ {
  .share-page .tracking-link-section {
      align-items: flex-start
  }
    }
  @media (max-width: 1024px) /* mobile, tablet */ {
  .share-page .tracking-link-section {
      align-items: center
  }
    }
  .share-page .share-page-menu {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
  }
  .share-page .share-page-menu .menu-item {
      cursor: pointer;
    }
  .share-page .share-page-menu .menu-item.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 */ {

#ladder-agents-dashboard-share-page .quoter-rules {
      max-width: 1100px
  }
    }

@media (min-width: 1025px) /* desktop */ {

#ladder-agents-dashboard-share-page .quoter-and-app-button {
      display: flex;
      align-items: flex-start
  }
    }

#ladder-agents-dashboard-share-page .quoter-rules-container {
    margin: 15px 0 32px 0;
    max-width: 750px;
  }

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

#ladder-agents-dashboard-share-page .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 */ {

#ladder-agents-dashboard-share-page .section {
      padding: 30px 40px;
      max-width: 834px
  }
    }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agents-dashboard-share-page .section {
      padding: 16px;
      margin-bottom: 8px
  }
    }

#ladder-agents-dashboard-share-page .quoter-copy {
    margin: 8px 0 32px 0;
  }

#ladder-agents-dashboard-share-page .title-row {
    display: flex;
    justify-content: space-between;
  }

#ladder-agents-dashboard-share-page .share-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
  }

#ladder-agents-dashboard-share-page .share-modal .error-text {
      display: flex;
      width: 100%;
      justify-content: center;
    }

#ladder-agents-dashboard-share-page .share-modal .add-new-contact-link {
      display: flex;
      justify-content: center;
    }

#ladder-agents-dashboard-share-page .share-modal .quoter-button {
      width: 100%;
    }

#ladder-agents-dashboard-share-page .share-modal .explain-self-apply {
      margin-top: 10px;
    }

#ladder-agents-dashboard-share-page .quote-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agents-dashboard-share-page .quote-page {
      padding: 0 16px
  }
    }

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

@media (min-width: 1025px) /* desktop */ {

.quoter-and-app-button .columns {
      display: flex;
      gap: 24px
  }
    }

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

.quoter-and-app-button .columns {
      flex-wrap: wrap
  }
    }

.quoter-and-app-button .column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
  }

@media (min-width: 1025px) /* desktop */ {

.quoter-and-app-button .column {
      width: 365px
  }
    }

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

.quoter-and-app-button .column {
        width: 100%;
        max-width: 100%
  }

        .quoter-and-app-button .column .ladder_agents_dashboard_inputs__single-select-options-styles__button {
          width: 50%;
        }
    }

.quoter-and-app-button .share-quote-form-container {
    display: flex;
    flex-direction: column;
  }

@media (min-width: 1025px) /* desktop */ {

.quoter-and-app-button .share-quote-form-container {
      gap: 24px
  }
    }

@media (max-width: 1024px) /* mobile, tablet */ {

.quoter-and-app-button .share-quote-form-container {
      gap: 16px
  }
    }

@media (max-width: 1024px) /* mobile, tablet */ {

.quoter-and-app-button .mobile-margin-top {
      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 */ {

.quote-response-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 24px 34px 24px
}
  }

@media (max-width: 1024px) /* mobile, tablet */ {

.quote-response-container {
    flex-direction: column;
    padding: 24px 16px
}
  }

.quote-response-container .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

@media (max-width: 1024px) /* mobile, tablet */ {

.quote-response-container .buttons {
      width: 100%;
      margin-top: 24px;
      gap: 16px
  }
    }

@media (min-width: 1025px) /* desktop */ {

.quote-response-container .start-app-button-container {
      width: 316px
  }
    }

@media (max-width: 1024px) /* mobile, tablet */ {

.quote-response-container .start-app-button-container {
      width: 100%
  }
    }

.quote-response-container .monthly-premium {
    display: flex;
  }

@media (min-width: 1025px) /* desktop */ {

.quote-response-container .monthly-premium {
      flex-direction: column;
      padding-left: 24px;
      gap: 12px
  }
    }

@media (max-width: 1024px) /* mobile, tablet */ {

.quote-response-container .monthly-premium {
      width: 100%;
      align-items: center;
      justify-content: space-between
  }
    }

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

.price-range-container .prices-row {
    display: flex;
  }

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

.price-range-container .cell:first-child {
      background-color: rgb(232, 246, 245);
    }

.price-range-container .cell .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 */ {.add-contact-container {
    width: 350px
}
  }
  @media (min-width: 1025px) /* desktop */ {.add-contact-container {
    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 {

  /*
  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
   */
}
  #ladder-agents-quote-container fieldset {
    border: 1px solid gray;
  }
  #ladder-agents-quote-container .icon {
    width: auto;
    height: 100%;
    max-height: 20px;
    margin-left: 10px;
  }
  #ladder-agents-quote-container .icon-info {
    color: #6c757d; /* :medium-gray */
  }
  #ladder-agents-quote-container .Results .button-container {
    max-width: 270px;
    width: 100%;
  }
  #ladder-agents-quote-container .Results .button {
    border-radius: 24px;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
  }
  #ladder-agents-quote-container .Results .outcome {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 24px;
  }
  #ladder-agents-quote-container .Results .outcome.green {
    background-color: #E5F6F5;
  }
  #ladder-agents-quote-container .Results .outcome-text.green {
    color: #01835E;
  }
  #ladder-agents-quote-container .Results .outcome.yellow {
    background-color: rgba(255, 199, 110, 0.1);
  }
  #ladder-agents-quote-container .Results .outcome-text.yellow {
    color: #AA5D00;
  }
  #ladder-agents-quote-container .Results .outcome.red {
    background-color: #FDF0F1;
  }
  #ladder-agents-quote-container .Results .outcome-text.red {
    color: #E71919;
  }
  #ladder-agents-quote-container .QuestionList {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 13px; /* Inherited by the Yes/No buttons */
  }
  #ladder-agents-quote-container .QuestionContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #ladder-agents-quote-container .QuestionContainer .height-weight-answer-row {
    display: flex;
    flex-direction: row;
  }
  #ladder-agents-quote-container .QuestionContainer .question-row {
    display: flex;
  }
  @media (min-width: 1025px) {
    #ladder-agents-quote-container .QuestionContainer .height-weight-answer-row {
      gap: 24px;
    }
  }
  @media (max-width: 1024px) {
    #ladder-agents-quote-container .QuestionContainer .height-weight-answer-row {
      justify-content: space-between;
      gap: 5px;
    }
  }
  #ladder-agents-quote-container .AnswerWeight,
  #ladder-agents-quote-container .AnswerHeight {
    flex: 1;
    max-width: 209px;
  }
  #ladder-agents-quote-container .AnswerYesOrNo {
    display: flex;
    flex-direction: row;
  }
  @media (max-width: 1024px) {
    #ladder-agents-quote-container .AnswerYesOrNo {
      width: 100%;
      gap: 5px;
      justify-content: space-between;
    }
  }
  @media (min-width: 1025px) {
    #ladder-agents-quote-container .AnswerYesOrNo {
      width: 442px;
      gap: 24px;
    }
  }
  #ladder-agents-quote-container .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) {
    #ladder-agents-quote-container .Results {
      padding: 24px 32px;
    }
  }
  @media (max-width: 1024px) {
    #ladder-agents-quote-container .Results {
      padding: 16px;
    }
  }
  #ladder-agents-quote-container .fitMeterContainer {
    width: 100%;
    max-width: calc(min(85%, 460px));
  }
  #ladder-agents-quote-container .fitMeterRow {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  #ladder-agents-quote-container .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 */ {
  #ladder-agents-quote-container .fitMeterLabel {
      font-size: 10px
  }
    }
  #ladder-agents-quote-container .fitMeterLabelRed {
    background-color: rgb(251, 241, 241);
  }
  #ladder-agents-quote-container .fitMeterLabelYellow {
    background-color: rgb(254, 250, 241);
  }
  #ladder-agents-quote-container .fitMeterLabelGreen {
    background-color: rgb(232, 246, 245);
  }
  #ladder-agents-quote-container .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')
  }
  #ladder-agents-quote-container .fitMeterRect {
    width: 4px;
    height: 32px;
    border-radius: 2px;
    position: relative;
  }
  #ladder-agents-quote-container .fitMeterRectRed {
    background-color: #ED6C74;
  }
  #ladder-agents-quote-container .fitMeterRectYellow {
    background-color: #FFC76E;
  }
  #ladder-agents-quote-container .fitMeterRectGreen {
    background-color: #00A997;
  }
  #ladder-agents-quote-container .fitMeterLowFit .fitMeterRect:nth-child(n+2) {
    opacity: 0.1;
  }
  #ladder-agents-quote-container .fitMeterLowFit .fitMeterRect:nth-child(1) .fitMeterTriangle {
    visibility: visible;
  }
  @media (min-width: 1025px) /* desktop */ {
    #ladder-agents-quote-container .fitMeterLowModerateFit .fitMeterRect:nth-child(n+14) {
      opacity: 0.1;
    }

    #ladder-agents-quote-container .fitMeterLowModerateFit .fitMeterRect:nth-child(13) .fitMeterTriangle {
      visibility: visible;
    }

    #ladder-agents-quote-container .fitMeterModerateFit .fitMeterRect:nth-child(n+16) {
      opacity: 0.1;
    }

    #ladder-agents-quote-container .fitMeterModerateFit .fitMeterRect:nth-child(15) .fitMeterTriangle {
      visibility: visible;
    }

    #ladder-agents-quote-container .fitMeterGoodFit .fitMeterRect:nth-child(n+25) {
      opacity: 0.1;
    }

    #ladder-agents-quote-container .fitMeterGoodFit .fitMeterRect:nth-child(24) .fitMeterTriangle {
      visibility: visible;
    }
  }
  @media (max-width: 1024px) /* mobile, tablet */ {
    #ladder-agents-quote-container .fitMeterRect:nth-child(8n+8) {
      display: none;
    }

    #ladder-agents-quote-container .fitMeterRect:nth-child(9n+9) {
      display: none;
    }

    #ladder-agents-quote-container .fitMeterLowModerateFit .fitMeterRect:nth-child(n+12) {
      opacity: 0.1;
    }

    #ladder-agents-quote-container .fitMeterLowModerateFit .fitMeterRect:nth-child(11) .fitMeterTriangle {
      visibility: visible;
    }

    #ladder-agents-quote-container .fitMeterModerateFit .fitMeterRect:nth-child(n+14) {
      opacity: 0.1;
    }

    #ladder-agents-quote-container .fitMeterModerateFit .fitMeterRect:nth-child(13) .fitMeterTriangle {
      visibility: visible;
    }

    #ladder-agents-quote-container .fitMeterGoodFit .fitMeterRect:nth-child(n+23) {
      opacity: 0.1;
    }

    #ladder-agents-quote-container .fitMeterGoodFit .fitMeterRect:nth-child(22) .fitMeterTriangle {
      visibility: visible;
    }
  }
  @media (max-width: 1024px) {
    #ladder-agents-quote-container .Results .outcome {
      padding: 8px;
    }
  }

/* Generic Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.carousel-single {
  width: 100%;
  margin-bottom: 24px;
}

.carousel-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease;
  /* Maximum padding to guarantee last element can center */
  padding: 0 80%; /* Increased padding for complete last element centering */
}

/* Carousel Item Wrapper - Contains each carousel item */
.carousel-item-wrapper {
  flex-shrink: 0;
  cursor: pointer;
  /* Snap to center for better alignment */
  scroll-snap-align: center;
}

/* Carousel Item - Generic container for carousel items */
.carousel-item {
  width: 100%;
  height: 100%;
}

/* Single item - full width */
.carousel-single .carousel-item {
  width: 100%;
}

.carousel-single .carousel-track {
  padding: 0; /* No padding needed for single items */
}

/* Phantom spacer for last element centering - modern carousel technique */
.carousel-phantom-spacer {
  flex-shrink: 0;
  width: 50%; /* Half container width provides centering space for last element */
  height: 1px; /* Minimal height */
  pointer-events: none;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dee2e6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: #495057;
}

.carousel-nav:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.carousel-nav.prev {
  left: -20px;
}

.carousel-nav.next {
  right: -20px;
}

/* Dot Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #dee2e6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.indicator:hover {
  background: #adb5bd;
}

.indicator.active {
  background: #007bff;
  width: 20px;
  border-radius: 10px;
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
  .carousel {
    margin-bottom: 16px;
  }

  .carousel-item {
    min-width: 90%;
    width: 90%;
  }

  .carousel-track {
    padding: 0 80%;
  }
}

/* Small mobile screens optimization (500px and below) */
@media (max-width: 500px) {
  .carousel-container {
    border-radius: 6px; /* Slightly smaller border radius */
  }

  .carousel-track {
    gap: 14px; /* Smaller gap for tight spaces */
    padding: 0 75%; /* Adjusted for better centering on small screens */
  }

  .carousel-indicators {
    margin-top: 12px;
    gap: 6px; /* Tighter spacing */
  }

    .carousel-indicators .indicator {
      width: 6px;
      height: 6px;
    }

      .carousel-indicators .indicator.active {
        width: 8px;
        height: 8px;
      }
}

/* Extra small screens (360px and below) */
@media (max-width: 360px) {
  .carousel-track {
    gap: 12px; /* Even smaller gap */
    padding: 0 70%; /* More space efficiency */
  }

  .carousel-indicators {
    margin-top: 10px;
    gap: 5px;
  }

    .carousel-indicators .indicator {
      width: 5px;
      height: 5px;
    }

      .carousel-indicators .indicator.active {
        width: 7px;
        height: 7px;
      }

  /* Hide navigation arrows on mobile - use swipe instead */
  .carousel-nav {
    display: none;
  }

  .carousel-indicators {
    margin-top: 12px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.active {
    width: 16px;
  }

  .carousel-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}


@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .carousel-nav.prev {
    left: -18px;
  }

  .carousel-nav.next {
    right: -18px;
  }
}


@media (min-width: 1200px) {
  .carousel {
    margin-bottom: 28px;
  }

  .carousel-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .carousel-nav.prev {
    left: -22px;
  }

  .carousel-nav.next {
    right: -22px;
  }
}

/* ==============================================
   BONUS CONTAINER - Main bonus display system
   ============================================== */

.bonus-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bonus-banner .bonus-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
  }

.bonus-banner .bonus-icon {
    flex-shrink: 0;
  }

.bonus-banner .bonus-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }

.bonus-banner .bonus-text {
    flex-grow: 1;
  }

.bonus-banner .bonus-actions {
    flex-shrink: 0;
  }

/* ==============================================
   BONUS CAROUSEL - Carousel specific to bonus
   ============================================== */
.bonus-carousel {
  position: relative;
  width: 100%;
  margin-bottom: 24px;

  /* Carousel Indicators (dots) */
}
/* Carousel Navigation (hidden for bonus) */
.bonus-carousel .carousel-nav {
    display: none; /* Arrows disabled for bonus carousel */
  }
/* Carousel Container */
.bonus-carousel .carousel-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
  }
.bonus-carousel .carousel-container:active {
      cursor: grabbing;
    }
/* Carousel Track - sizing handled dynamically */
.bonus-carousel .carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
    padding: 0 calc(50% - 42.5%); /* Default centering, overridden dynamically */
  }
/* Carousel Item Wrapper - sizing handled dynamically */
.bonus-carousel .carousel-item-wrapper {
    min-width: 85%;
    width: 85%;
    flex-shrink: 0;
  }
/* Mobile optimization for small screens (500px and below) */
@media (max-width: 500px) {
    .bonus-carousel .carousel-item-wrapper {
      min-width: 92%; /* Better fit for small screens */
      width: 92%;
    }

    .bonus-carousel .carousel-track {
      gap: 14px; /* Smaller gap but not too tight */
      padding: 0 calc(50% - 46%); /* Adjust padding for 92% width */
    }
  }
/* Extra small screens (360px and below) */
@media (max-width: 360px) {
    .bonus-carousel .carousel-item-wrapper {
      min-width: 95%; /* Use more of the available space */
      width: 95%;
    }

    .bonus-carousel .carousel-track {
      gap: 12px; /* Even smaller gap */
      padding: 0 calc(50% - 47.5%); /* Adjust padding for 95% width */
    }
  }
.bonus-carousel .carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 8px;
  }
.bonus-carousel .carousel-indicators .indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: none;
      background: rgba(0, 0, 0, 0.2);
      cursor: pointer;
      transition: all 0.2s ease;
    }
.bonus-carousel .carousel-indicators .indicator.active {
        background: #333333;;
      }
.bonus-carousel .carousel-indicators .indicator:hover {
        background: rgba(0, 123, 255, 0.6);
      }

/* ==============================================
   BONUS CARD - Individual bonus cards
   ============================================== */
.bonus-card {
  /* Base card styles */
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: none;
  border-radius: 24px;
  padding: 24px 28px 20px 28px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;

  /* Card hover state */

  /* Active card state */

  /* ==============================================
     SIGNUP BONUS VARIANT
     ============================================== */

  /* Default active state for non-specific cards */
}
.bonus-card .preview-card-only {
    display: none !important;
  }
.bonus-card .bonus-card-only {
    display: block !important;
  }
.bonus-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  }
.bonus-card.active {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  }
.bonus-card.bonus-card-signup {
    background: #F5A3B6;
    box-shadow: 0 3px 10px 0 rgba(175, 143, 151, 0.25);
    color: black;

    /* Signup bonus content layout */
  }
.bonus-card.bonus-card-signup:hover {
      background: #F5A3B6;
      box-shadow: 0 6px 16px 0 rgba(175, 143, 151, 0.35);
    }
.bonus-card.bonus-card-signup.active {
      background: #F5A3B6;
      box-shadow: 0 6px 16px 0 rgba(175, 143, 151, 0.4);
    }
.bonus-card.bonus-card-signup .signup-bonus-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 15px;
      height: 40%;
    }
.bonus-card.bonus-card-signup .signup-bonus-left-col {
      flex: 1;
      max-width: 65%;
      padding-right: 20px;
    }
.bonus-card.bonus-card-signup .signup-bonus-right-col {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
      margin-top: 0;
      min-width: 90px;
    }
.bonus-card.bonus-card-signup .signup-bonus-end-date {
      text-align: left;
      line-height: 1.1;
      display: flex;
      flex-direction: column;
      gap: 0px;
      font-size: 12px;
      margin-top: 16px;
    }
.bonus-card.bonus-card-signup .signup-bonus-days-left {
      text-align: right;
      font-size: 13px;
      line-height: 1.1;
      font-weight: 500;
    }
.bonus-card.bonus-card-signup .signup-bonus-bottom {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-top: auto;
      padding: 10px 0px 16px 0px;
      height: 50%;
    }
.bonus-card.bonus-card-signup .signup-bonus-performance {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      font-size: 12px;
      line-height: 1.1;
      gap: 15px;
    }
.bonus-card.bonus-card-signup .signup-bonus-performance .ladder_ux_typography__screen-type-specific-typography-styles__default-size {
        margin-right: 15px;
      }
.bonus-card.bonus-card-signup .signup-bonus-illustration {
      flex-shrink: 0;
      width: 50%;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      position: relative;
      right: 0;
      bottom: 5%;
    }
.bonus-card.bonus-card-signup .signup-bonus-image {
      width: 100%;
      height: auto;
      object-fit: contain;
      object-position: bottom right;
    }
.bonus-card:not(.bonus-card-signup):not(.bonus-card-set-duration).active {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  }

/* ==============================================
   BONUS MODAL - Modal component for terms
   ============================================== */
.bonus-modal {
  max-height: 70vh;
  overflow-y: auto;

  /* Bonus Summary */

  /* Modal Actions */

  /* Modal Body */
}
.bonus-modal -title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
  }
.bonus-modal .bonus-summary {
    padding: 0 20px 20px 20px;
  }
.bonus-modal .bonus-summary .summary-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
    }
.bonus-modal .bonus-summary .summary-item span {
        color: black;
      }
.bonus-modal .modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }
.bonus-modal .bonus-body {
    padding: 29px;
  }
.bonus-modal .bonus-body span {
      color: #8E8E8E;
      display: block;
    }

/* Modal Card Preview */
.modal-card-preview {
  width: 100%;
}
.modal-card-preview .preview-card-only {
    display: block !important;
  }
.modal-card-preview .bonus-card-only {
    display: none !important;
  }
.modal-card-preview .bonus-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1.6 / 1; /* Maintain proportional height to width */
    cursor: default;
    pointer-events: none;
  }
.modal-card-preview .bonus-card:hover {
      transform: none;
      box-shadow: inherit;
    }

/* Modal z-index overrides */
.ladder_ux_modal__fade-in-modal-styles__root {
  z-index: 100 !important;
}

.ladder_ux_modal__modal-inner-styles__header {
  margin: 0;
  padding: 0;
  height: 0;
}

.ladder_ux_modal__modal-inner-styles__body-padding {
  padding: 0 !important;
}

.ladder_ux_modal__modal-inner-styles__x-button {
  background-color: transparent;
}

/* Mobile modal X button padding override */
@media (max-width: 768px) {
  .ladder_ux_modal__modal-inner-styles__x-button-wrapper {
    padding: 6px 6px 0 0 !important;
  }
}

/* Modal content styling */
.details-modal-text-container {
  line-height: 1.6;
  color: #333;
}

.conditions-list {
  margin: 16px 0;
}

.conditions-list li {
    margin-bottom: 8px;
    line-height: 1.5;
  }

/* ==============================================
   MOBILE RESPONSIVENESS
   ============================================== */
@media (max-width: 768px) {
  /* Mobile carousel adjustments - now handled dynamically by Carousel component */
    .bonus-carousel .carousel-indicators {
      margin-top: 12px;
    }

      .bonus-carousel .carousel-indicators .indicator {
        width: 6px;
        height: 6px;
      }

        .bonus-carousel .carousel-indicators .indicator.active {
          width: 8px;
          height: 8px;
        }

  /* Mobile bonus card adjustments */
  .bonus-card {
    min-width: 300px;
    box-sizing: border-box;
    height: 153px;
    padding: 16px;

    /* Signup bonus mobile adjustments */
  }

    .bonus-card.bonus-card-signup {
      padding: 20px 18px 16px 18px;
      height: 153px;

      /* Mobile signup bonus layout */
    }

      .bonus-card.bonus-card-signup .signup-bonus-top {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 20px;
      }

        .bonus-card.bonus-card-signup .signup-bonus-top span {
          font-size: 10px;
          line-height: 16px;
        }

      .bonus-card.bonus-card-signup .signup-bonus-left-col {
        max-width: 100%;
        padding-right: 0;
      }

        .bonus-card.bonus-card-signup .signup-bonus-left-col span {
          font-size: 15px;
          line-height: 16px;
        }

      .bonus-card.bonus-card-signup .signup-bonus-end-date {
        margin-top: 8px;
      }

      .bonus-card.bonus-card-signup .signup-bonus-right-col {
        position: absolute;
        top: 24px;
        right: 24px;
      }

      .bonus-card.bonus-card-signup .signup-bonus-bottom {
        flex-direction: row;
        align-items: flex-end;
        gap: 12px;
        padding: 0;
        font-size: 15px;
      }

      .bonus-card.bonus-card-signup .signup-bonus-illustration {
        width: 120px;
      }
}

/* Small mobile screens (500px and below) - enhanced design fixes */
@media (max-width: 500px) {
  .bonus-card {
    min-width: 280px; /* Smaller for better fit */
    height: 153px;
    padding: 14px;
  }

    .bonus-card.bonus-card-signup {
      padding: 16px 14px 12px 14px;
    }

      .bonus-card.bonus-card-signup .signup-bonus-top {
        gap: 12px;
        margin-bottom: 16px;
      }

        .bonus-card.bonus-card-signup .signup-bonus-top span {
          font-size: 9px;
          line-height: 14px;
        }
        .bonus-card.bonus-card-signup .signup-bonus-left-col span {
          font-size: 14px;
          line-height: 15px;
        }

      .bonus-card.bonus-card-signup .signup-bonus-right-col {
        top: 18px;
        right: 18px;
      }

        .bonus-card.bonus-card-signup .signup-bonus-right-col span {
          font-size: 9px;
        }

      .bonus-card.bonus-card-signup .signup-bonus-bottom {
        gap: 10px;
        font-size: 14px;
      }

        .bonus-card.bonus-card-signup .signup-bonus-bottom span {
          font-size: 9px;
        }

      .bonus-card.bonus-card-signup .signup-bonus-illustration {
        width: 100px; /* Smaller illustration */
      }

        .bonus-card.bonus-card-signup .signup-bonus-illustration .signup-bonus-image {
          width: 100%;
          height: auto;
        }
}

/* Extra small screens (360px and below) */
@media (max-width: 360px) {
  .bonus-card {
    min-width: 260px; /* Even more compact */
  }

    .bonus-card.bonus-card-signup {
      padding: 14px 12px 10px 12px;
    }

      .bonus-card.bonus-card-signup .signup-bonus-illustration {
        width: 80px; /* Very compact illustration */
      }
}

#agent-dash-applications {
  width: calc(100% - 80px);
}
 #agent-dash-applications .actionbar {
    position: sticky;
    display: flex;
    flex-direction: column;
    gap: 5px;
    top: -1px;
  }
 #agent-dash-applications .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));
  }
 #agent-dash-applications .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;
  }
 #agent-dash-applications .referral-link:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3);
  }
 #agent-dash-applications .referral-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    flex-shrink: 1;
  }
 #agent-dash-applications .referral-edge-items {
    flex-shrink: 0;
  }
 #agent-dash-applications .application-search-input {
    width: 150px;
    border: 1px solid black;
    padding: 5px;
  }
 #agent-dash-applications .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%
  }
 #agent-dash-applications .button-circle.floating {
    width: 62px;
    height: 62px;
    box-shadow: inset 5em 5em transparent, inset 0 0 0 6px white;
  }
 #agent-dash-applications .button-circle.floating:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3), inset 0 0 0 6px white;
  }
 #agent-dash-applications .button-circle:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3);
  }
 #agent-dash-applications .plus-horizontal {
    position: absolute;
    width: 21px;
    height: 3px;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
 #agent-dash-applications .plus-vertical {
    position: absolute;
    width: 3px;
    height: 21px;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
 #agent-dash-applications .start-app-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    padding-right: 100px;
  }
 #agent-dash-applications .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 */ {
 #agent-dash-applications .floating-action-bar-container {
      width: calc(100% - 40px);
      max-width: 100%
  }
    }
 #agent-dash-applications .floating-action-bar-container.visible {
    opacity: 1;
    transition-delay: 0s;
  }
 #agent-dash-applications .small-copy-button {
    border-radius: 50%;
    background-color: white;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }
 #agent-dash-applications .small-copy-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }
 #agent-dash-applications .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;
  }
 #agent-dash-applications .copy-button.floating {
    width: 62px;
    height: 62px;
  }
 #agent-dash-applications .copy-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }
 #agent-dash-applications .floating-action-buttons-container {
    display: flex;
    gap: 10px;
  }
 #agent-dash-applications .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 */ {
      #agent-dash-applications .action-bar-container .referral-link {
        display: none;
      }
    }
 #agent-dash-applications .action-bar-container.visible {
    opacity: 1;
    transition-delay: 1s;
  }
 #agent-dash-applications .dashed-page-break {
    width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(
    to right,
    #8E8E8E 0,
    #8E8E8E 8px,
    transparent 8px,
    transparent 16px
    );
  }
 #agent-dash-applications .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;
  }
 #agent-dash-applications .application-cards-container {
   min-height: 70vh;
   display: flex;
   flex-direction: column;
   gap: 6px;
   margin-top: 12px;
   width: 100%;
  }
 #agent-dash-applications .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 */ {
 #agent-dash-applications .application-card {
      flex-direction: column
  }
    }
 @media (min-width: 500px) and (max-width: 1024px) /* tablet */ {
    }
 #agent-dash-applications .application-card:hover {
    cursor: pointer;
  }
 #agent-dash-applications .application-card-left-container,#agent-dash-applications .application-card-right-container {
    display: flex;
    gap: 16px;
    flex-direction: column;
    width: 50%;
  }
 @media (max-width: 499px) /* mobile */ {
 #agent-dash-applications .application-card-left-container,#agent-dash-applications .application-card-right-container {
      width: 100%
  }
    }
 #agent-dash-applications .application-card-right-container {
    align-items: end;
  }
 #agent-dash-applications .name-timestamp-container {
    display: flex;
    gap: 10px;
    align-items: center;
  }
 #agent-dash-applications .card-status-container {
   display: flex;
   flex-direction: column;
   gap: 8px;
 }
 #agent-dash-applications .card-progress-block {
    width: 24%;
    height: 8px;
    border-radius: 15px;
    background-color: #CCCCCC
  }
 #agent-dash-applications .card-progress-block.filled {
    background-color: blue;
  }
 #agent-dash-applications .card-progress-bar {
    display: flex;
    gap: 5px;
  }
 #agent-dash-applications .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 */ {
 #agent-dash-applications .resume-button {
      width: 100%
  }
    }
 #agent-dash-applications .load-more-button {
    background: #cccccc33;
    height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 40px;
    border-radius: 24px;
  }
 #agent-dash-applications .resume-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(255,255,255,0.3);
    transition: box-shadow 0.3s;
  }
 #agent-dash-applications .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%;
  }
 #agent-dash-applications .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;
  }
 #agent-dash-applications .loading-spinner {
    top: 150px;
    position: sticky;
    align-self: center;
  }
 #agent-dash-applications .offer-expires {
    border-radius: 8px;
    background: #F7DDC9;
    display: inline-block;
    padding: 8px;
  }
 #agent-dash-applications .offer-expires .offer-expires-text {
      margin: 0;
      line-height: 0;
      display: contents;
    }
 #agent-dash-applications .offer-expires 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-container .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;
  }

  #toast-container .toast-message.error{
      border-color: #f50505;
    }

  #toast-container .toast-message.success{
      border-color: #02fa1f;
    }

  #toast-container .toast-message.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 */ {

#ladder-agent-dashboard .nav-bar-item {
      gap: 3em;
      margin: 2em 6em 1em 0
  }
    }

#ladder-agent-dashboard .nav-bar-item .vertical-item-bar {
      width: 5px;
      height: 41px;
      border-radius: 19px;
      background-color: transparent;
    }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .nav-bar-item .vertical-item-bar {
        display: none
    }
      }

#ladder-agent-dashboard .nav-bar-item .vertical-item-bar.selected {
        background-color: #336FED;
      }

#ladder-agent-dashboard .nav-bar-item .icon-container {
      cursor: pointer;
      display: flex;
    }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .nav-bar-item .icon-container {
        height: 100%;
        justify-content: center
    }
      }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar-item .icon-container {
        width: 100%;
        align-items: center
    }
      }

#ladder-agent-dashboard .nav-bar-item .horizontal-item-bar {
      width: 27px;
      height: 4px;
      border-radius: 19px;
      background-color: transparent;
    }

@media (min-width: 1024px) /* desktop */ {

#ladder-agent-dashboard .nav-bar-item .horizontal-item-bar {
        display: none
    }
      }

#ladder-agent-dashboard .nav-bar-item .horizontal-item-bar.selected {
        background-color: #336FED;
      }

#ladder-agent-dashboard .nav-bar-item .padding {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar-item .padding {
        position: relative
    }
      }

#ladder-agent-dashboard .nav-bar-item .icon-and-text {
      display: flex;
      justify-content: center;
      gap: 1em;
    }

#ladder-agent-dashboard .nav-bar-item .name-icon {
      display: flex;
      width: 100%;
      align-items: center;
    }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar-item .name-icon {
        flex-direction: row-reverse;
        gap: 1em;
        justify-content: left
    }
      }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .nav-bar-item .name-icon {
        flex-direction: column-reverse;
        justify-content: center;
        height: 100%
    }
      }

#ladder-agent-dashboard .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 */ {

#ladder-agent-dashboard .nav-bar {
      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 */ {

#ladder-agent-dashboard .nav-bar {
      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
  }
    }

#ladder-agent-dashboard .nav-bar .logo-container {
      display: flex;
      margin: 2em;
    }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .nav-bar .logo-container {
        display: none
    }
      }

@media (max-width: 499px) /* mobile */ {

#ladder-agent-dashboard .nav-bar .logo-container svg {
          width: 33vw;
          height: 100%
      }
        }

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

#ladder-agent-dashboard .nav-bar .logo-container svg {
          height: 40px
      }
        }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar .logo-container svg {
          height: 56px
      }
        }

#ladder-agent-dashboard .nav-bar .nav-items {
      display: flex;
      width: 100%;
      justify-content: space-around;
    }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar .nav-items {
        flex-direction: column
    }
      }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .nav-bar .nav-items {
        flex-direction: row;
        padding: 0.5em 2em;
        background-color: #FFFFFF;
        border-radius: 40px;
        align-items: center
    }
      }

#ladder-agent-dashboard .nav-bar .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 */ {

#ladder-agent-dashboard .nav-bar .help-container {
        display: none
    }
      }

#ladder-agent-dashboard .nav-bar .button-container {
      width: 100%;
    }

@media (max-width: 499px) /* mobile */ {

#ladder-agent-dashboard .nav-bar .button-container {
        display: flex;
        height: 100%;
        justify-content: space-between;
        flex-direction: column
    }
      }

#ladder-agent-dashboard .nav-bar .uw-guidelines-box {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 34px;
    }

#ladder-agent-dashboard .nav-bar .uw-guidelines-box svg {
        margin-right: 8px;
      }

@media (max-width: 1024px) /* mobile, tablet */ {

#ladder-agent-dashboard .nav-bar .uw-guidelines-box {
        width: 350px
    }
      }

@media (min-width: 1025px) /* desktop */ {

#ladder-agent-dashboard .nav-bar .uw-guidelines-box {
        background-color: #F3D7AA
    }
      }

#ladder-agent-dashboard .agent-help-modal {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

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

@media (max-width: 499px) /* mobile */ {

#ladder-agent-dashboard .agent-help-modal .help-bubbles {
        align-items: center
    }
      }

#ladder-agent-dashboard .agent-help-modal .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 */ {

#ladder-agent-dashboard .agent-help-modal .help-bubble {
        width: 90%
    }
      }

#ladder-agent-dashboard .agent-help-modal .help-modal-content {
      display: flex;
    }

@media (min-width: 500px) /* tablet, desktop */ {

#ladder-agent-dashboard .agent-help-modal .help-modal-content {
        align-items: center
    }
      }

@media (max-width: 499px) /* mobile */ {

#ladder-agent-dashboard .agent-help-modal .help-modal-content {
        flex-direction: column;
        gap: 16px;
        margin-top: 8px
    }
      }

@media (min-width: 500px) /* tablet, desktop */ {

#ladder-agent-dashboard .agent-help-modal .help-modal-content > *:first-child {
          width: 120px
      }
        }

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

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

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

  #application-details .application-card {
    position: relative;
  }

  #application-details .application-card.block {
      display: block;
      cursor: auto;
    }

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

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

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

  #application-details .application-card.block .contact-group {
        display: flex;
        gap: 24px;
        align-items: center;
        font-weight: 400;
        line-height: 30px;
      }

  #application-details .application-card.block .contact-group .email,
        #application-details .application-card.block .contact-group .phone,
        #application-details .application-card.block .contact-group .birthday {
          line-height: inherit;
          display: inline-flex;
        }

  #application-details .application-card.block .contact-group span {
          display: flex;
          justify-content: center;
        }

  #application-details .application-card.block .contact-group svg {
          margin-right: 8px;
          align-self: center;
        }

  /* mobile, tablet */

  @media (max-width: 1024px) {

  #application-details .application-card.block .contact-group {
          justify-content: flex-start;
          flex-wrap: wrap;
          gap: 16px
      }

          #application-details .application-card.block .contact-group span {
            width: 100%;
            justify-content: flex-start;
          }
        }

  #application-details .application-card.block.app-details .header {
          color: black;
          font-weight: 600;
          margin-bottom: 1.4rem;
          display: block;
        }

  #application-details .application-card.block.app-details .body-text {
          color: black;
          font-weight: 400;
          margin-bottom: 0;
          display: block;
        }

  #application-details hr {
    margin: 1.4rem 0;
  }

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

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

  /* mobile, tablet */

  @media (max-width: 1024px) {

  #application-details .app-details-group-container {
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 16px
  }

      #application-details .app-details-group-container .app-details-group {
        width: 100%;
        justify-content: flex-start;
      }

        #application-details .app-details-group-container .app-details-group .body-text {
          margin-bottom: 0;
        }
    }

  #application-details .riders-container {
    display: flex;
    flex-direction: column;
  }

  #application-details .riders-container .body-text {
      color: #636363;
    }

  #application-details .terminal-status-text {
    position: absolute;
    right: 0;
  }

  @media (max-width: 499px) /* mobile */ {

  #application-details .terminal-status-text {
        position: relative;
        width: 100%;
        margin-bottom: .2rem;
        text-align: center;
        display: block;
        padding: 4px
  }
    }

  #application-details .latest-status-container:has(.terminal-status-text) .offer-expires {
      top: 2em;
    }

  @media (max-width: 499px) /* mobile */ {

  #application-details .latest-status-container:has(.terminal-status-text) .offer-expires {
        top: 0
    }
      }

  #application-details .latest-status-container {
    position: relative;
  }

  #application-details .latest-status-container .offer-expires {
      position: absolute;
      right: 0;
    }

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

  #application-details .latest-status-container .status-step {
      display: flex;
      align-items: self-start;
      gap: 24px;
      position: relative;
      min-height: 40px;
    }

  #application-details .latest-status-container .status-step:last-child {
        height: auto;
      }

  #application-details .latest-status-container .status-step:last-child .body-text {
          margin-bottom: 0;
        }

  #application-details .latest-status-container .status-step.active-step .body-text {
          font-weight: 700;
        }

  #application-details .latest-status-container .status-step.blue-svg .body-text {
          color: #336FED;
        }

  #application-details .latest-status-container .status-step.blue-svg svg circle {
            fill: #336FED;
          }

  #application-details .latest-status-container .status-step.green-svg .body-text {
          color: #01835E;
        }

  #application-details .latest-status-container .status-step.green-svg svg circle {
            fill: #01835E;
          }

  #application-details .latest-status-container .status-step.grey-svg .body-text {
          color: #8E8E8E;
        }

  #application-details .latest-status-container .status-step.grey-svg svg circle {
            fill: #8E8E8E;
          }

  #application-details .latest-status-container .status-step.blue-green-tail::before {
          background-color: #336FED;
        }

  #application-details .latest-status-container .status-step.blue-green-tail::after {
          background-color: #01835E;
        }

  #application-details .latest-status-container .status-step.solid-blue-tail::before {
          background-color: #336FED;
        }

  #application-details .latest-status-container .status-step.solid-blue-tail::after {
          background-color: #336FED;
        }

  #application-details .latest-status-container .status-step.solid-grey-tail::before {
          background-color: #8E8E8E;
        }

  #application-details .latest-status-container .status-step.solid-grey-tail::after {
          background-color: #8E8E8E;
        }

  #application-details .latest-status-container .status-step.no-svg-tail::before {
          display: none !important;
        }

  #application-details .latest-status-container .status-step.no-svg-tail::after {
          display: none !important;
        }

  #application-details .latest-status-container .status-step svg {
        position: relative;
        z-index: 8;
        margin-top: 0.09rem;
      }

  #application-details .latest-status-container .status-step .body-text {
        line-height: inherit;
      }

  #application-details .latest-status-container .status-step .step-text-container {
        display: flex;
        flex-direction: row;
        gap: 3rem;
        align-items: center;
      }

  #application-details .latest-status-container .status-step::before {
        content: '';
        width: 2px;
        min-height: 30px;
        height: 100%;
        position: absolute;
        left: 5px;
        top: 12px;
        display: block;
        z-index: 5;
      }

  #application-details .latest-status-container .status-step::after {
        content: '';
        width: 1px;
        min-height: 30px;
        height: 100%;
        position: absolute;
        left: 7px;
        top: 12px;
        display: block;
      }

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

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

  #application-details .megaphone-icon {
    flex-shrink: 0;
  }

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

  #application-details .secondary-text {
    transform: translateX(1em);
    position: relative;
    margin: .8em 0;
  }

  #application-details .secondary-text:before {
      content: '•';
      position: absolute;
      top: 0;
      left: 0;
    }

  #application-details .secondary-text {

    padding-left: 1rem;
}

  #application-details .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-input .search-bar.left {
    flex-direction: row-reverse;
    padding-left: 15px;
  }
  #search-input .search-bar.expanded {
    max-width: 340px;
  }
  #search-input .search-button {
    padding: 12px;
    border-radius: 50%;
    display: flex;
  }
  #search-input .search-button:hover {
    cursor: pointer;
    box-shadow: inset 5em 5em rgba(0,0,0,0.1);
  }
  #search-input .search-input {
    width: 100%;
    font-size: medium;
    font-family: Helvetica, Arial, sans-serif;
  }
  #search-input .inner-search-container {
    display: flex;
    width: 100%
  }
  #search-input .clear-button {
    border-radius: 50%;
    display: flex;
    padding: 8px;
    margin-right: 5px;
  }
  #search-input .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 */ {.agent-settings-page {
    padding: 4em 0
}
  }
  .agent-settings-page .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 */ {
  .agent-settings-page .settings-row {
      width: 100%;
      min-width: 23em;
      gap: 1em
  }
    }
  @media (max-width: 499px) /* mobile */ {
  .agent-settings-page .settings-row {
      width: 100%;
      min-width: auto
  }
    }

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

.agent-resources-page .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 */ {

.agent-resources-page .dropdown-listitem {
      width: 100%
  }
    }

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

.agent-resources-page .dropdown-listitem .dropdown-icon {
      margin-left: auto;
    }

.agent-resources-page .heading-item {
    height: 84px;
    cursor: pointer;
  }

@media (max-width: 499px) /* mobile */ {

.agent-resources-page .heading-item {
      height: 112px
  }
    }

.agent-resources-page .dropdown-list > *:first-child:last-child {
    border-radius: 24px;
  }

.agent-resources-page .dropdown-list > *:first-child:not(:last-child) {
    border-radius: 24px 24px 0 0;
  }

.agent-resources-page .dropdown-list > *:last-child:not(:first-child) {
    border-radius: 0 0 24px 24px;
  }

.agent-resources-page .content-item {
    border-top: 1px solid lightgray;
  }

.agent-resources-page .content-item .text-link:hover {
      text-decoration: underline;
    }

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

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

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

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

  .agent-settings-profile-page .share-phone-number-type {
    margin: 1em 0;
  }

  .agent-settings-profile-page .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;
  }

  .agent-settings-profile-page .phone-with-ext .input {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

  .agent-settings-profile-page .phone-with-ext .phone {
      flex: 2;
    }

  .agent-settings-profile-page .phone-with-ext .ext {
      flex: 1;
    }

  .agent-settings-profile-page .phone-with-ext .input-label {
      color: grey;
      font-size: 12px;
      padding: 1px 2px;
      margin-bottom: 1em;
    }

  .agent-settings-profile-page .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%;
  }

  .agent-settings-profile-page .updated-email-reminder-text {
    margin: 2em 0;
  }

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

.agent-settings-support-page .schedule-call-button {
    margin-top: 64px;
  }

.ladder-apply-core {
  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) {

  .ladder-apply-core .sticky {
      top: calc(var(--header-height-tablet)*1px)
  }
    }

  @media (max-width: 499px) {

  .ladder-apply-core .sticky {
      top: calc(var(--header-height-mobile)*1px)
  }
    }

