@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Whisper&display=swap');
.stellar-quiz {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 55px;
  position: relative;
  margin-top: 50px;

  &:after {
    content: 'AI';
    font-family: 'Poppins';
    font-size: 864px;
    line-height: 900px;
    position: absolute;
    right: 0px;
    bottom: -150px;
    font-weight: 700;
    color: #151515;
    z-index: -1;

    @media (max-width: 1024px) {
      font-size: 400px;
      right: 50%;
      transform: translateX(50%);
    }
  }

  h3 {
    text-align: left;
    font-size: 50px;
    line-height: 55px;
    font-weight: 500;
    color: #fff;
    padding-bottom: 20px;
    margin: 0px;
  }

  .description {
    text-align: left;
    color: #fff;
    padding-bottom: 40px;
  }

  .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0px;

    @media (max-width: 1024px) {
      flex-direction: column;
      gap: 20px;
      padding: 30px 0px;
    }

    &:has(input) {
      border-bottom: none;

      &:has(option[value="no"]:checked) {
        input {
          display: none;
        }
      }

      input {
        margin-left: auto;
        border: none;
        border-bottom: 1px solid #e5e7eb;
        background: none;
        color: #fff;
        font-size: 24px;
        line-height: 34px;
        font-weight: 500;
        text-align: center;
        &:focus {
          outline: none;
        }
      }
    }

    label {
      display: block;
      font-weight: 600;
    }

    select {
      padding: 20px 30px;
      border-radius: 10px;
      border: 1px solid #e5e7eb;
      background: none;
      background-color: #ffffff;
      color: #303030;
      cursor: pointer;
      width: 100%;
      max-width: 600px;
      appearance: none;
      font-size: 21px;
      line-height: 34px;
      border-radius: 34px;

      &:has(option[value="default"]:checked) {
        background-color: unset;
        color: #ffffff;
      }

      option {
        background: #ffffff;
        color: #303030;
      }
    }
  }

  button {
    padding: 20px 50px;
    border-radius: 10px;
    border: none;
    background: #009EE3;
    border: 2px solid #009EE3;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 34px;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    margin: 40px auto;

    &:hover {
      background: unset;
      transition: 0.3s;
      color: #009EE3;
    }
    &:disabled {
      background: #9bdcf6;
      cursor: not-allowed;
    }
  }
  .stellar-quiz-results {
    margin-top: 20px;

    .stellar-quiz-card {
      display: flex;
      gap: 14px;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      padding: 12px;
      margin-bottom: 12px;

      img {
        width: 400px;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        flex: 0 0 400px;
      }

      h4 {
        margin: 0 0 4px;
      }

      .match-badge {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 999px;
        font-size: 12px;
        margin-left: 6px;
      }
    }
  }
}

@media (max-width: 1024px) {
  .stellar-quiz-results .stellar-program-list {
      & .stellar-program-list__items {
          .stellar-program-list__item {
            flex-direction: column;

            .stellar-program-list__index {
              font-size: 60px;
              line-height: 100px;
              z-index: 1;
              top: 65px;
              left: 30px;
              color: #fff;
              background: #00000080;
              width: 70px;
              height: 70px;
              justify-content: center;
              align-items: center;
              display: flex ;
              border-radius: 50%;
              backdrop-filter: blur(3px);
            }

            .stellar-program-list__inner {
              .stellar-program-list__thumb {
                width: 100%;
                max-height: 350px;
                aspect-ratio: unset;
              }
              .stellar-program-list__cta {
                width: 100%;
              }
            }
          }
      }
  }
}