/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_self
 */
@import "https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css";
:root {
  --bulma-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.3),
    0 0px 0 1px rgba(10, 10, 10, 0.02);
  --dropdown-icon-color: #D93A2B;
  --select-placeholder-font-color: #c8c8c8;
}
.card {
  --bulma-card-radius: 6px;
}
html,
body {
  width: 100vw;
  overflow-x: hidden;
  font-family: "Open Sans";
}

button.is-outlined {
  color: #D93A2B !important;
  border-color: #D93A2B !important;
}
.multi-select .multi-select-header .multi-select-header-placeholder {
  color: rgb(200, 200, 200);
}
#default-landing-page-container {
  .background-img {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 8px 8px 8px;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
  }
  #content-columns-container {
    height: 100%;
    .column {
      margin: auto;
      #text-container {
        width: fit-content;
        margin: 0 auto;
        #title {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;
          .page-title {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1;
            word-wrap: break-word;
          }
        }
      }
      #survey-box {
        background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.9) 100%
          ),
          linear-gradient(
            0deg,
            rgba(217, 58, 43, 0.08) 0%,
            rgba(217, 58, 43, 0.08) 100%
          );
        border-radius: 20px;
        padding: 0;
        max-width: 750px;
        margin: 0 auto;
        #form-container {
          padding: 1.5rem 1.5rem 2.25rem;
          .title {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            gap: 1rem;
            #file-img {
              width: 24px;
              height: 24px;
              flex-shrink: 0;
            }
            #reg-title-w-img {
              color: #d93a2b;
              line-height: 1.2;
              word-wrap: break-word;
              display: flex;
            }
          }
          .reg-form {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            .reg-select-with-placeholder {
              background-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M6.29289 8.79289C6.68342 8.40237 7.31658 8.40237 7.70711 8.79289L12 13.0858L16.2929 8.79289C16.6834 8.40237 17.3166 8.40237 17.7071 8.79289C18.0976 9.18342 18.0976 9.81658 17.7071 10.2071L12.7071 15.2071C12.3166 15.5976 11.6834 15.5976 11.2929 15.2071L6.29289 10.2071C5.90237 9.81658 5.90237 9.18342 6.29289 8.79289Z' fill='%23D93A2B'/></svg>");
              background-repeat: no-repeat;
              background-position-x: calc(100% - 0.5rem);
              background-position-y: 50%;
            }
            .question-split-container {
              width: 100%;
              display: flex;
              gap: 0.25rem;
              .control {
                width: 100%;
                display: flex;
                align-items: center;
              }
            }
            .sms-optins {
              color: #212121;
              font-size: 0.625rem;
              font-weight: 400;
              line-height: 0.875rem;
              word-wrap: break-word;
            }
            .sms-optins a,
            .sms-optins a:link,
            .sms-optins a:visited {
              color: #d93a2b !important;
              text-decoration: underline !important;
            }
            .sms-optins a:hover,
            .sms-optins a:active {
              color: #c02919 !important;
              text-decoration: underline !important;
            }
            .sms-optin-checkbox {
              width: 1rem;
              height: 1rem;
              border-radius: 1.83px;
              border: 1.83px #d93a2b solid;
              margin: 0 0.35rem 0 0;
              appearance: none;
              -webkit-appearance: none;
              -moz-appearance: none;
              background-color: white;
              cursor: pointer;
            }
            .sms-optin-checkbox:checked {
              background-color: #d93a2b;
              position: relative;
            }
            .sms-optin-checkbox:checked::after {
              content: "✓";
              position: absolute;
              color: white;
              font-size: 0.65rem;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
            }
            #view-button-container {
              margin-top: 1rem;
              #see-offers-button {
                width: 100%;
                background: #d93a2b;
                color: white;
                border-radius: 6px;
                justify-content: center;
                align-items: center;
                gap: 16px;
                word-wrap: break-word;
                #submit-arrow {
                  width: 0.75rem;
                  margin-left: -0.5rem;
                }
              }
              #see-offers-button:hover {
                background: #c02919;
              }
            }
          }
          .input {
            border: 1px #D93A2B solid;
            font-family: "Open Sans";
            gap: 10px;
            padding-top: 0.25rem;
            padding-bottom: 0.25rem;
            padding-left: 0.7rem;
            border-radius: 4px 4px 6px 6px;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5rem;
            word-wrap: break-word;
          }
          .input:focus {
            border-color: #D93A2B;
            outline: none;
            box-shadow: 0 0 0 2px rgba(217, 58, 43, 0.1);
          }
          .select,
          select {
            border: 1px #D93A2B solid !important;
          }
          .select:focus,
          select:focus {
            border-color: #D93A2B !important;
          }
        }
      }
    }
  }
}
#default-descs-container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  .single-desc-container {
    display: flex;
    gap: 0.5rem;
    height: 25px;
    align-items: center;
    .check-image {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 15px;
      height: 14px;
      flex-shrink: 0;
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffa234;
    }
    .web-description {
      color: #fafafa;
      line-height: 1.5rem;
      word-wrap: break-word;
    }
  }
}
.default-review-box {
  width: 400px;
  max-width: 100%;
  margin: 3.125rem auto 0;
  padding: 14px 24px;
  background: rgba(250, 250, 250, 0.8);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.14);
  border-radius: 16px;
  .star-rating {
    font-size: 1.1rem;
    letter-spacing: 0.15rem;
    color: #ffa234;
  }
  .text {
    color: #212121;
    font-size: 0.875rem;
    line-height: 1.35rem;
    word-wrap: break-word;
  }
}
#default-rev-user-div {
  margin: 0.75rem auto 0;
  width: 400px;
  display: flex;
  align-items: center;
  gap: 1rem;
  #user-name {
    color: #fafafa;
    font-size: 1rem;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
  }
}
#default-results-page-container {
  margin-bottom: 2rem;
  #page-title {
    width: 100%;
    text-align: center;
    color: #D93A2B;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
  }
  #page-title:before {
    content: "Your Job Matches";
    color: #D93A2B;
  }

  .multiline-page-title-container {
    display: none;
  }
}
.default-offer-enclosure {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  .header {
    padding: 0;
    box-shadow: none;
    background: #F2D9D9;
    min-height: auto;

    .header-text {
      font-size: 12px;
      text-align: center;
      color: #A66666;
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1.4;
      white-space: normal;
      word-wrap: break-word;
    }
  }
  .content-container {
    background: #ffffff;
    padding: 20px !important;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    margin-top: -6px;

    .offer-image-container {
      margin-bottom: 20px;
      border-radius: 10px;
      overflow: hidden;
      background: transparent;
      height: 190px;
      width: 100%;

      .offer-image {
        aspect-ratio: 27/19;
        border-radius: 15px;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        object-position: center;
      }
    }
    .title-container {
      margin-top: 4px;
      margin-bottom: 16px;
      .title {
        word-wrap: break-word;
        color: #D93A2B !important;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
      }
    }
    .description-container {
      margin-bottom: 24px;
      .description-text {
        font-weight: 400;
        word-wrap: break-word;
        color: #4a4a4a;
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
      }
    }
    .buttons-container {
      display: flex;
      gap: 1rem !important;
      margin-top: 20px;
      .claim-offer-button {
        border-radius: 6px;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.3s ease;
        min-height: 44px;
        height: 44px;
        border: none;
        cursor: pointer;
        padding: 10px 18px;
      }
      .offer-accept-button {
        background: #D93A2B;
        color: #ffffff;
        flex: 1;
        &:hover {
          background: #c02f21;
        }
      }
      .offer-decline-button {
        background: #e8e8e8;
        color: #808080;
        flex: 1;
        &:hover {
          background: #b8b8b8;
          color: #ffffff;
        }
      }
    }
    .offer-disclaimer-text {
      margin-top: 16px;
      font-size: 13px;
      color: #999999;
      text-align: center;
      line-height: 1.4;
    }
  }
  .modern-buttons-content-container {
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 3vw, 3rem)
      clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    .title {
      color: #D93A2B;
      font-size: min(calc(100% + 1.75vw), 1.6rem);
      font-weight: 800;
      text-align: center;
      margin-bottom: clamp(2rem, 3vw, 3rem);
    }
    .buttons-container {
      gap: clamp(12px, 2vw, 16px);
      display: flex;
      flex-direction: column;
      .button {
        width: 100%;
        background: transparent;
        overflow: hidden;
        border: #D93A2B 1px solid;
        border-radius: 6px;
        color: #D93A2B;
        font-size: 16px;
        font-weight: 700;
        line-height: 16px;
        padding: clamp(0.75rem, 2vw, 1rem);
      }
      .button:hover {
        background: #D93A2B;
        color: white;
      }
    }
  }
}
#default-survey-enclosure {
  #page-num-div {
    justify-content: space-between;
    align-items: center;
    width: 610px;
    max-width: 100%;
    margin: 2rem auto 0;
    display: flex;
    #pre-survey-text {
      color: #D93A2B;
      font-size: 20px;
      font-weight: 800;
      text-transform: uppercase;
      line-height: 1;
      word-wrap: break-word;
    }
    #next-page-text {
      color: #D93A2B;
      font-size: 14px;
      font-weight: 400;
      text-transform: capitalize;
      line-height: 1;
      word-wrap: break-word;
      margin-top: 0.65rem;
    }
    #question-number-circle {
      width: 3.25rem;
      height: 3.25rem;
      background: rgba(217, 58, 43, 0.1);
      border-radius: 100px;
      justify-content: center;
      align-items: center;
      display: inline-flex;
      #question-number {
        text-align: center;
        color: #D93A2B;
        font-size: 18px;
        font-family: Poppins;
        font-weight: 600;
        line-height: 18px;
        word-wrap: break-word;
      }
    }
  }
  #question-enclosure {
    width: 610px;
    max-width: 100%;
    padding: 2rem 60px 2rem;
    background: white;
    box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    gap: 10px;
    margin: 2rem auto 2.5rem;
    #question-text {
      color: #D93A2B;
      font-size: 32px;
      font-weight: 800;
      line-height: 44.8px;
      word-wrap: break-word;
    }
    .instructions {
      text-align: center;
      font-size: 1rem;
      margin-top: 1.5rem;
      line-height: 1.5;
    }
    .answers-columns-container .answer-column {
      padding: 0.5rem 0.75rem;
      .response-option-div {
        width: 100%;
        padding: 0.5rem;
        background: white;
        border-radius: 6px;
        border: 2px solid #d1d1d1;
        transition: all 0.2s ease;
        cursor: pointer;
        .radio-label {
          display: flex;
          color: #212121;
          font-size: 16px;
          font-weight: 700;
          line-height: 16px;
          word-wrap: break-word;
          gap: 8px;
          align-items: center;
          margin: 2px;
          cursor: pointer;
          a {
            color: #D93A2B !important;
            text-decoration: underline !important;
          }
          .response-option {
            width: 20px;
            height: 20px;
            background: white;
            margin: 8px;
            border-radius: 50%;
            border: 2px solid #999999;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            cursor: pointer;
          }
          .response-option:checked {
            background: #D93A2B;
            border-color: #D93A2B;
          }
        }
      }
      .response-option-div:has(input:checked) {
        border-color: #D93A2B;
        background: white;
      }
      .response-option-div:hover {
        border-color: #999999;
      }
    }
    .sms-optins {
      display: inline-flex;
      flex-direction: column;
      margin-top: 1rem;
      .optin-container {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        .sms-optin-checkbox {
          width: 1rem;
          height: 1rem;
        }
        .optin-label {
          font-size: 10px;
          font-weight: 400;
          line-height: 14px;
          word-wrap: break-word;
          color: #D93A2B;
          a {
            color: #D93A2B !important;
            text-decoration: underline !important;
          }
        }
      }
    }
    .button-columns {
      .button-column {
        padding-top: 0;
        padding-bottom: 0.5rem;
        #back-button {
          background: transparent;
          border: 1px #D93A2B solid;
          color: #D93A2B;
        }
        #skip-button {
          background: transparent;
          border: 0;
          color: #D93A2B;
          box-shadow: none;
        }
        #skip-button:hover {
          background: rgba(217, 58, 43, 0.15);
        }
        #next-button {
          background: #D93A2B;
          color: #fafafa;
        }
        #next-button:hover {
          background: #c02919;
        }
        .survey-button {
          width: 100%;
          height: 2.5em;
          padding-left: 10px;
          padding-right: 10px;
          border-radius: 6px;
          font-size: 16px;
          font-weight: 700;
          line-height: 16px;
          word-wrap: break-word;
        }
      }
    }
  }
}
.container--stepper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  .stepper {
    display: flex;
    align-items: center;
    max-width: 95%;
    .step {
      width: 30px;
      aspect-ratio: 1 / 1;
      border-radius: 50%;
      background-color: #e0e0e0;
      color: #333333;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      line-height: 1;
      font-weight: bold;
    }
    .completed {
      background-color: #D93A2B;
      color: white;
    }
    .active {
      background-color: #D93A2B;
      color: white;
    }
    .line {
      width: 50px;
      height: 4px;
      background-color: #e0e0e0;
    }
    .line.completed {
      background-color: #D93A2B;
    }
  }
}
.path-step-title-text {
  color: #D93A2B;
  text-align: center;
  font-family: Poppins, sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin-top: 1.5rem;
  margin-bottom: 2rem;

  @media screen and (max-width: 1024px) {
    font-size: 32px;
  }

  @media screen and (max-width: 768px) {
    font-size: 28px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  @media screen and (max-width: 480px) {
    font-size: 24px;
  }
}

/* Elegant Truck Progress Bar */
.truck-progress-container {
  width: 85%;
  max-width: 700px;
  margin: 2.5rem auto 2rem;
  padding: 0;

  .progress-info-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.25rem;

    .step-indicator {
      font-size: 15px;
      font-weight: 600;
      color: #2c2c2c;
      letter-spacing: 0.3px;
    }

    .percentage-indicator {
      font-size: 18px;
      font-weight: 700;
      color: #D93A2B;
      letter-spacing: 0.5px;
    }
  }

  .elegant-progress-bar {
    position: relative;
    height: 8px;
    width: 100%;

    .progress-track {
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, #e8e8e8, #f5f5f5);
      border-radius: 10px;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .progress-fill {
      position: absolute;
      height: 100%;
      background: linear-gradient(90deg, #D93A2B 0%, #E55847 100%);
      border-radius: 10px;
      transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 8px rgba(217, 58, 43, 0.3);
      z-index: 1;
      overflow: hidden;
      position: relative;

      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent 0%,
          rgba(255, 255, 255, 0.3) 50%,
          transparent 100%
        );
        animation: shimmer 2s infinite;
      }
    }

    .truck-container {
      position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
      transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 10;
      animation: subtle-move 2s ease-in-out infinite;

      .truck-icon {
        width: 48px;
        height: 48px;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
        transition: transform 0.3s ease;
      }

      &:hover .truck-icon {
        transform: scale(1.1);
      }
    }
  }

  @media screen and (max-width: 768px) {
    width: calc(92% - 10px);
    margin: 2rem auto 1.5rem;

    .progress-info-top {
      margin-bottom: 0.75rem;

      .step-indicator {
        font-size: 16px;
      }

      .percentage-indicator {
        font-size: 16px;
      }
    }

    .elegant-progress-bar {
      height: 6px;

      .truck-icon {
        width: 40px;
        height: 40px;
      }
    }
  }

  @media screen and (max-width: 480px) {
    .elegant-progress-bar .truck-icon {
      width: 36px;
      height: 36px;
    }

    .progress-info-top {
      .step-indicator {
        font-size: 16px;
      }

      .percentage-indicator {
        font-size: 14px;
      }
    }
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@keyframes subtle-move {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-2px);
  }
}

.select-one-survey-response-button {
  width: 100%;
  background: transparent;
  overflow: hidden;
  border: #D93A2B 1px solid;
  border-radius: 6px;
  color: #D93A2B;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  padding: clamp(0.75rem, 2vw, 1rem);
  transition: all 0.2s ease;
}
.select-one-survey-response-button:hover {
  background: #D93A2B;
  color: white;
}

/* Checkbox styles for multi-select and other survey questions */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #999999;
  border-radius: 3px;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:hover {
  border-color: #777777;
}

input[type="checkbox"]:checked {
  background-color: #D93A2B;
  border-color: #D93A2B;
}

input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Radio button styles */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #D93A2B;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="radio"]:hover {
  border-color: #c02919;
}

input[type="radio"]:checked {
  background-color: #D93A2B;
  border-color: #D93A2B;
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Multi-select option cards/containers */
.multi-select-option,
.select-multiple-option {
  border: 2px solid rgba(217, 58, 43, 0.2) !important;
  transition: all 0.2s ease;
  background: white !important;
}

.multi-select-option:has(input:checked),
.select-multiple-option:has(input:checked) {
  border-color: #D93A2B !important;
  background: white !important;
}

.multi-select-option:hover,
.select-multiple-option:hover {
  border-color: rgba(217, 58, 43, 0.5) !important;
}

@media screen and (min-width: 769px) {
  html,
  body {
    height: 100vh;
  }
  .offerwall-skip-button {
    display: flex;
    width: 20%;
    margin: 0 auto;
  }
  #default-landing-page-container {
    height: 100%;
    .background-img {
      background-image: linear-gradient(
        290deg,
        rgba(33, 33, 33, 0) 0%,
        #212121 100%
      );
    }
    #survey-box {
      width: 65%;
    }
  }
  #default-descs-container .web-description {
    font-size: 1rem;
  }
  #default-results-page-container {
    #page-title {
      margin-top: 2.5rem;
    }
    #offer-columns-container {
      width: 72.5%;
      margin: 3rem auto 0;
      justify-content: flex-start;
      .offer-column {
        padding: 0.75rem;
      }
    }
  }
  #default-survey-enclosure #question-enclosure {
    .answers-columns-container {
      margin-top: 2rem;
    }
    .button-columns {
      margin-top: 1.25rem;
    }
  }
}

@media screen and (min-width: 1500px) {
  #default-results-page-container {
    #offer-columns-container {
      width: 66.7%;
      margin: 3rem auto 0;
      justify-content: flex-start;
      .offer-column {
        padding: 0.75rem;
      }
    }
  }
}

@media screen and (min-width: 1200px) {
  #default-results-page-container {
    #offer-columns-container {
      width: 75%;
      margin: 3rem auto 0;
      justify-content: flex-start;
      .offer-column {
        padding: 0.75rem;
      }
    }
  }
}

@media screen and (min-width: 1024px) {
  #default-results-page-container {
    #offer-columns-container {
      width: 85%;
      margin: 3rem auto 0;
      justify-content: flex-start;
      .offer-column {
        padding: 0.75rem;
      }
    }
  }
}

@media screen and (max-width: 1023px) {
  #default-landing-page-container {
    #content-columns-container .column #text-container {
      margin-top: 1.5rem;
    }
  }

  #default-descs-container {
    margin-top: 1rem;
  }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .offer-column {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #default-results-page-container #page-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1367px) {
  #default-results-page-container #page-title {
    font-size: 3rem !important;
    line-height: 1.2;
  }
}

@media screen and (max-width: 768px) {
  .offerwall-skip-button {
    width: 100%;
  }
  #default-landing-page-container {
    .background-img {
      background-image: linear-gradient(
        290deg,
        rgba(33, 33, 33, 0) 0%,
        #212121 100%
      );
    }
    #content-columns-container {
      margin-left: 0.75rem;
      margin-right: 0.75rem;
      margin-top: auto;
      .column {
        padding: 0;
        #text-container {
          width: 100%;
          #title {
            gap: 0.25rem;
            .page-title {
              font-size: 2rem;
              line-height: 1.15;
            }
          }
        }
        #survey-box {
          max-width: 100%;
          margin-top: 1.5rem;
          #form-container {
            padding: 1.5rem 1rem 1.5rem;
            .title {
              margin-bottom: 0.8rem;
              #file-img {
                margin-top: -0.35rem;
                margin-right: 0.25rem;
              }
              #reg-title-w-img {
                font-size: 0.95rem;
              }
            }
            .input {
              font-size: 0.85rem;
            }
            .reg-form {
              .sign-up-select {
                font-size: 0.85rem;
              }
              .sms-optins {
                font-size: 0.5rem;
                line-height: 0.75rem;
              }
              #view-button-container {
                margin-top: 0.4rem;
              }
            }
          }
        }
      }
    }
  }
  #default-descs-container {
    margin-top: 1rem;
    gap: 0.5rem;
    span {
      display: flex;
    }
    .single-desc-container {
      height: auto;
      .web-description {
        font-size: 0.875rem;
        width: 100%;
        padding-top: 0.15rem;
        line-height: 1.4;
      }
    }
  }
  .default-review-box {
    margin: 2rem auto 1rem !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  #default-rev-user-div {
    margin: 0 auto 2.5rem;
  }
  #default-results-page-container {
    margin: 1.5rem 1.25rem 9rem;
    #page-title {
      font-size: 2rem !important;
      font-weight: 800;
      line-height: 1.1;
      text-align: center !important;
    }
    #offer-columns-container {
      margin-top: 2rem;
    }
  }
  #default-survey-enclosure {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    #question-enclosure {
      padding: 1.5rem 1.25rem 2rem;
      margin: 1.5rem auto 9rem;
      #question-text {
        font-size: 1.7rem;
        line-height: 2rem;
      }
      .instructions {
        font-size: 15px;
        margin-top: 1rem;
      }
      .answers-columns-container {
        margin-top: 1.25rem;
      }
      .button-columns {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0.75rem;
        display: flex;
        flex-direction: column;
        .button-column {
          padding-left: 0;
          padding-right: 0;
        }
      }
    }
  }
  .offer-column {
    .content-container {
      .buttons-container {
        gap: 0.75rem;
        flex-direction: column-reverse;
      }
    }
  }
  .container--stepper {
    margin-top: 1rem;
    .stepper .step {
      width: 26px;
      font-size: 13px;
    }
  }
  .path-step-title-text {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.35rem;
    line-height: 1.4;
  }
}
#path-step-footer {
  display: none;
}
.show-more-button,
.colored-button,
.button.show-more-button,
.button.colored-button,
.button.is-primary.show-more-button,
.button.is-primary.colored-button,
.button.is-primary.is-outlined.show-more-button,
.button.is-primary.is-outlined.colored-button,
.button.is-fullwidth.is-primary.is-outlined.show-more-button,
.button.is-fullwidth.is-primary.is-outlined.colored-button,
a.button.is-primary.is-outlined.show-more-button,
a.button.is-primary.is-outlined.colored-button,
button[data-testid="show-more-button"],
.button[data-testid="show-more-button"] {
  border-radius: 10px !important;
  min-height: 50px !important;
  color: #D93A2B !important;
  border-color: #D93A2B !important;
  background-color: transparent !important;
}

.colored-button:hover,
.show-more-button:hover,
.button.colored-button:hover,
.button.show-more-button:hover,
.button.is-primary.colored-button:hover,
.button.is-primary.show-more-button:hover,
.button.is-primary.is-outlined.colored-button:hover,
.button.is-primary.is-outlined.show-more-button:hover,
.button.is-fullwidth.is-primary.is-outlined.colored-button:hover,
.button.is-fullwidth.is-primary.is-outlined.show-more-button:hover,
a.button.is-primary.is-outlined.colored-button:hover,
a.button.is-primary.is-outlined.show-more-button:hover,
button[data-testid="show-more-button"]:hover,
.button[data-testid="show-more-button"]:hover {
  background-color: #D93A2B !important;
  color: white !important;
  border-color: #D93A2B !important;
}

#progress-line-container {
  display: flex;
  justify-content: center;
  margin-top: clamp(0.75rem, 3vw, 2rem);
  margin-bottom: clamp(0.75rem, 3vw, 2rem);
  #progress-lines {
    width: 33%;
    display: flex;
    justify-content: center;
    gap: clamp(5px, 1.5vw, 15px);
    .step {
      height: 0.375rem;
      background: rgba(217, 58, 43, 0.3);
      flex-grow: 1;
    }
    .step.completed {
      background: rgba(217, 58, 43, 1);
    }
    .step.active {
      background: rgba(217, 58, 43, 1);
    }
  }
}
@media (max-width: 1023px) {
  #progress-line-container {
    #progress-lines {
      width: 95%;
    }
  }
}

.progress-meter {
  height: 5px;
  position: relative;
  background: rgba(217, 58, 43, 0.1);
  overflow: hidden;
  span {
    display: block;
    height: 100%;
  }
  .progress {
    background-color: #D93A2B;
    animation: progressBar 3s ease-in-out;
    animation-fill-mode: both;
  }
}

/* Trucker Junction Theme Overrides */

.web-description {
  line-height: 1.5;
}

/* Review Slider - Slides in from left, exits to right */
.review-slider-container {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.review-slide {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out,
    visibility 0s 0.6s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.review-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
  position: relative;
  pointer-events: auto;
}

.review-slide.slide-out {
  opacity: 0;
  visibility: visible;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out, opacity 0.3s ease-in-out,
    visibility 0s 0.6s;
  position: absolute;
  pointer-events: none;
}

.default-rev-user-div {
  margin-left: 0;
  display: flex;
  align-items: center;
}

.user-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-sizing: border-box;
}

.user-name {
  margin-left: 10px;
  font-weight: 600;
  color: #fafafa;
}

@media screen and (max-width: 768px) {
  .review-slider-container {
    margin-bottom: 24px;
  }
}

/* Tablet adjustments - 768px to 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .review-slider-container {
    min-height: 190px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Mobile adjustments - below 768px */
@media screen and (max-width: 767px) {
  .review-slider-container {
    min-height: 220px;
  }

  .default-review-box {
    padding: 1rem !important;
  }

  .default-review-box .text {
    font-size: 0.95rem;
  }
}

/* Desktop background image - 1024px and above */
@media screen and (min-width: 1024px) {
  .background-img.is-hidden-mobile {
    background-image: linear-gradient(
        290deg,
        rgba(33, 33, 33, 0) 0%,
        #212121 100%
      ),
      url("/assets/truckerjunction/tj_bg-f49dff52.jpg") !important;
  }
}

/* Tablet background image - 768px to 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .background-img.is-hidden-mobile {
    background-image: linear-gradient(
        290deg,
        rgba(33, 33, 33, 0) 0%,
        #212121 100%
      ),
      url("/assets/truckerjunction/tj_bg-f49dff52.jpg") !important;
  }
}

/* Mobile background image - below 768px */
@media screen and (max-width: 767px) {
  .background-img.is-hidden-tablet {
    background-image: linear-gradient(
        290deg,
        rgba(33, 33, 33, 0) 0%,
        #212121 100%
      ),
      url("/assets/truckerjunction/tj_bg-f49dff52.jpg") !important;
    position: relative;
  }

  .background-img.is-hidden-tablet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
  }

  #default-landing-page-container #content-columns-container {
    position: relative;
    z-index: 2;
  }
}

.default-review-box {
  margin-left: 0;
  text-align: left;
}

#default-rev-user-div {
  margin-left: 0;
}

/* Large screens above 1368px - keep review left-aligned */
@media screen and (min-width: 1369px) {
  #text-container {
    margin: 0 auto;
    max-width: 550px;
  }

  .page-title {
    font-size: 3rem !important;
  }

  .default-review-box {
    width: 400px;
    margin-left: 0;
    margin-right: auto;
  }

  #default-rev-user-div {
    width: 400px;
    margin-left: 0;
    margin-right: auto;
  }
}

/* Fix wrapping issues on medium screens (1024px - 1368px) */
@media screen and (min-width: 1024px) and (max-width: 1368px) {
  #default-descs-container .single-desc-container {
    height: auto;
    min-height: 25px;
  }

  #survey-box {
    width: 85% !important;
    max-width: 100%;
  }

  #text-container {
    margin-left: 12px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .page-title {
    font-size: 2.8rem !important;
  }

  .default-review-box,
  #default-rev-user-div {
    margin-left: 12px !important;
  }
}

/* Match form width to description width on tablet screens (including iPad at 768px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #default-landing-page-container #content-columns-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hide description/review inside text-container on tablet */
  #text-container .is-hidden-mobile {
    display: none !important;
  }

  #survey-box {
    width: 657px !important;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .column.is-half-desktop:has(#survey-box) {
    margin-bottom: 30px !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .column.is-half-desktop:has(#text-container) {
    margin-bottom: 1rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  #text-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .default-review-box {
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
  }

  .page-title {
    font-size: 2.5rem !important;
  }

  /* Center description and review separately on tablet */
  #mobile-tablet-description,
  #mobile-tablet-review,
  #mobile-tablet-content {
    width: 657px !important;
    max-width: 657px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  #mobile-tablet-description {
    margin-top: 0 !important;
  }

  #reg-title-w-img {
    font-size: 0.95rem !important;
  }

  #mobile-tablet-review .review-slider-container,
  #mobile-tablet-content .review-slider-container {
    width: 100% !important;
    max-width: 657px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  #mobile-tablet-review .review-slide.active,
  #mobile-tablet-content .review-slide.active {
    width: 100% !important;
  }

  #mobile-tablet-review .default-review-box,
  #mobile-tablet-content .default-review-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #mobile-tablet-review .default-rev-user-div,
  #mobile-tablet-content .default-rev-user-div {
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* Ensure description items don't wrap/overlap */
  #default-descs-container {
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }

  #default-descs-container .single-desc-container {
    height: auto !important;
    min-height: 25px !important;
  }
}

/* Mobile layout reordering - below 1024px */
@media screen and (max-width: 1023px) {
  #content-columns-container {
    display: flex !important;
    flex-direction: column !important;
  }

  #content-columns-container > .column {
    width: 100% !important;
    flex: none !important;
  }

  /* Hide description/review inside text-container on tablet/mobile */
  #text-container .is-hidden-mobile {
    display: none !important;
  }

  /* Show standalone description/review on tablet/mobile */
  #mobile-tablet-description,
  #mobile-tablet-review,
  #mobile-tablet-content {
    display: block !important;
  }

  /* Order 1: Title */
  .column.is-half-desktop:has(#text-container) {
    order: 1;
  }

  /* Order 2: Form */
  .column.is-half-desktop:has(#survey-box) {
    order: 2;
  }

  /* Order 3: Description */
  #mobile-tablet-description {
    order: 3;
  }

  /* Order 4: Review */
  #mobile-tablet-review,
  #mobile-tablet-content {
    order: 4;
  }
}

@media screen and (max-width: 768px) {
  /* Fix title container centering - remove flexbox centering on mobile */
  #content-columns-container > .column.is-half-desktop:has(#text-container) {
    display: block !important;
    height: auto !important;
  }

  #content-columns-container > .column.is-half-desktop #text-container {
    height: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #content-columns-container > .column.is-half-desktop #title {
    margin-top: 0 !important;
    text-align: center;
  }

  #default-descs-container {
    margin-top: 1rem !important;
  }

  /* Mobile spacing for description and review */
  #mobile-tablet-description,
  #mobile-tablet-content {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    width: auto !important;
    max-width: 100% !important;
  }

  #mobile-tablet-description #default-descs-container,
  #mobile-tablet-content #default-descs-container {
    margin-top: 2rem !important;
  }

  #mobile-tablet-review,
  #mobile-tablet-content .review-slider-container {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .default-review-box {
    width: auto !important;
    margin-left: 0;
    text-align: left;
  }

  #default-rev-user-div {
    width: auto !important;
    margin-left: 0;
    margin-bottom: 24px !important;
    text-align: left;
    justify-content: flex-start;
  }
}

/* Header Styles */
#ws_header {
  width: 100%;
  height: 55px;
  padding: 0 1.5rem;
  background: transparent;
  justify-content: space-between;
  align-items: center;
  display: inline-flex;
}
.logo {
  display: block;
  position: relative;
}
.logo img {
  width: 271px;
  height: 20px;
}

/* Footer Styles */
#footer {
  background: transparent;
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
#footer-content-enclosure {
  display: inline-flex;
  align-items: center;
  width: 78%;
  justify-content: space-between;
}
#footer-links-container {
  gap: 1.75rem;
  display: inline-flex;
}
#footer-copyright-text {
  opacity: 0.5;
  color: #fafafa;
  font-size: 12px;
  font-family: Open Sans;
  font-weight: 400;
  line-height: 12px;
  word-wrap: break-word;
  text-align: end;
}
.footer-links {
  color: #fafafa;
  font-size: 1rem;
  font-family: Open Sans;
  font-weight: 600;
  line-height: 1.5rem;
  word-wrap: break-word;
}

/* Header and Footer Mobile Styles */
@media screen and (max-width: 767px) {
  #ws_header {
    padding: 0 12px;
    height: 48px;
  }
  .logo img {
    width: 203px;
    height: 15px;
  }
}

@media screen and (max-width: 1023px) {
  #footer {
    padding: 0.875rem 1.5rem 1.5rem;
  }
  #footer-content-enclosure {
    width: 95%;
    flex-direction: column;
    gap: 0.75rem;
  }
  #footer-links-container {
    font-size: 0.75rem;
    justify-content: center;
  }
  #footer-copyright-text {
    text-align: center;
  }
}

/* Force SMS opt-in links to be red with maximum specificity */
.sms-optins a[href],
.sms-optins a[href]:link,
.sms-optins a[href]:visited,
.sms-optins a[target],
label .sms-optins a,
div.sms-optins a {
  color: #d93a2b !important;
  text-decoration: underline !important;
}

.sms-optins a[href]:hover,
.sms-optins a[href]:active,
.sms-optins a[href]:focus,
label .sms-optins a:hover,
div.sms-optins a:hover {
  color: #c02919 !important;
  text-decoration: underline !important;
}
