.visa__invitation__wrapper {
  padding-top: 40px;
  padding-right: 0px;
  padding-bottom: 80px;
  padding-left: 0px;

  @media screen and (max-width:991px) {
    padding-top: 28px;
    padding-right: 0px;
    padding-bottom: 56px;
    padding-left: 0px;
  }

  .title40 {
    text-align: center;
    margin-bottom: 32px;
  }

  .title_wrap {
    @media screen and (max-width:767px) {
      margin-bottom: 32px;
    }

    .title40 {
      text-align: center;
      margin-bottom: 32px;
    }

    p {
      text-align: center;
      font-size: 24px;
    }
  }

  .invitation_main_wrap {
    border: 1px solid #CCD0D7;
    border-radius: 16px;

    .step_list_wrap {
      display: flex;
      gap: 32px;
      padding: 24px 40px;
      border-bottom: 1px solid #CCD0D7;
      background: #fff;
      border-radius: 16px 16px 0 0;

      @media screen and (max-width:1024px) {
        gap: 0;
        justify-content: space-between;
        padding: 24px 16px;
      }

      @media screen and (max-width:991px) {
        flex-wrap: wrap;
        gap: 16px;
      }

      li {
        display: flex;
        align-items: center;
        gap: 8px;

        @media screen and (max-width:991px) {
          width: calc(100% / 2 - 16px);
          align-items: flex-start;
        }

        .circle {
          width: 16px;
          height: 16px;
          border-radius: 50%;
          border: 2px solid rgba(0, 0, 0, 0.5);
          position: relative;

          @media screen and (max-width:991px) {
            min-width: 16px;
            min-height: 16px;
            margin-top: 2px;
          }
        }

        .text {
          font-size: 16px;
          font-weight: 500;
          line-height: 130%;
          color: rgba(0, 0, 0, 0.5);
        }

        &.done {
          .circle {
            border: 2px solid #016f06;

            &::before {
              content: "";
              background: #016f06;
              width: 8px;
              height: 8px;
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              margin: auto;
              border-radius: 50%;
            }
          }

          .text {
            color: #000;
          }
        }

        &.active {
          .circle {
            background: #009C2A;
            border-radius: 50%;
            border: 2px solid #009C2A;

            &::before {
              content: "";
              width: 4px;
              height: 8px;
              position: absolute;
              top: -1px;
              left: 0;
              right: 0;
              bottom: 0;
              margin: auto;
              border: solid #fff;
              border-width: 0 2px 2px 0;
              transform: rotate(45deg);
            }
          }

          .text {
            color: #000;
          }
        }
      }
    }

    .steps_group_main_wrap {
      padding: 24px;
      background: #fafafa;

      @media screen and (max-width:991px) {
        padding: 16px;
      }

      .steps {
        .fields_flex {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;

          @media screen and (max-width:767px) {
            flex-direction: column;
          }

          .fields_group {
            width: calc(100% / 2 - 22px);

            @media screen and (max-width:767px) {
              width: 100%;
            }
          }

          .fields_group_docs {
            width: 100%;

            @media screen and (max-width:767px) {
              width: 100%;
            }
          }

          .solid_line {
            width: 100%;
            height: 1px;
            background: #d6d5d4;
            /* light grey like your UI */
          }

          .review-box {
            background: #fff;
            padding: 30px;
            border-radius: 20px;
            width: 100%;
            margin: 20px auto;
            box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.08);
            font-family: Arial, sans-serif;

            .title {
              text-align: center;
              font-size: 22px;
              margin-bottom: 25px;
              font-weight: 600;
            }

            .section {
              border-bottom: 1px solid #e0e0e0;
              padding: 20px 0;

              .section-header {
                display: flex;
                justify-content: space-between;
                align-items: center;

                h3 {
                  margin: 0 0 10px 0;
                  font-size: 19px;
                  font-weight: 600;
                }

                .editBtn {
                  background: #eae2cf;
                  padding: 4px 12px;
                  border-radius: 6px;
                }
              }
            }

            .section:last-child {
              border-bottom: none;
            }

            .section p {
              margin: 6px 0;
              font-size: 16px;
              color: #555;
              text-align: left;
            }

            .child-section {
              border-bottom: 1px solid #e0e0e0;
              padding: 20px 0;

              .section-header {
                display: flex;
                justify-content: space-between;
                align-items: center;

                h3 {
                  margin: 0 0 10px 0;
                  font-size: 19px;
                  font-weight: 600;
                }

                .editBtn {
                  background: #eae2cf;
                  padding: 4px 12px;
                  border-radius: 6px;
                }
              }
            }

            .child-section:last-child {
              border-bottom: 1px solid #e0e0e0;
              padding: 20px 0;
            }

            .child-section p {
              margin: 6px 0;
              font-size: 16px;
              color: #555;
              text-align: left;
            }

            strong {
              font-weight: 700;
              color: #000;
            }
          }
        }
      }

      .choose_plan_flex {
        display: contents;
        justify-content: space-between;

        @media screen and (max-width:767px) {
          flex-direction: column;
          gap: 24px;
        }

        .plan_cards {
          background: #eef6fb;
          border-radius: 16px;
          padding: 24px;
          width: calc(100% / 2 - 16px);

          @media screen and (max-width:767px) {
            width: 100%;
          }

          .tag {
            font-size: 16px;
            font-weight: 600;
            line-height: 130%;
            color: #016f06;
            background: #fff;
            border-radius: 8px;
            padding: 8px 16px;
            width: fit-content;
          }

          h2 {
            font-size: 32px;
            font-weight: 700;
            line-height: 130%;
            color: #000;
            margin: 24px 0 8px 0;
          }

          p {
            font-size: 18px;
            font-weight: 500;
            line-height: 130%;
            color: #000;
            margin-bottom: 16px;
            text-align: left;
          }

          .order_list {
            padding-left: 16px;
            margin-bottom: 24px;

            li {
              list-style-type: decimal;
              font-size: 16px;
              font-weight: 500;
              line-height: 160%;
              color: #000;
            }
          }

          .btnPrimary {
            width: 100%;
            text-align: center;

            &::after {
              right: 36%;
            }
          }

          &.standard {
            background: #fff;

            .inner_flex {
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              height: 100%;
            }

            .tag {
              background: #FAFAFA;
              color: #000;
            }
          }
        }
      }

      .optionalFields {
        input:disabled {
          border: 1px solid rgba(224, 224, 224, 0.5);

          &::placeholder {
            color: rgba(97, 111, 134, 0.5);
          }
        }
      }
    }


    .btn_wrap {
      padding: 24px 40px;
      background: #fff;
      border-radius: 0 0 16px 16px;
      display: flex;
      gap: 16px;

      @media screen and (max-width:767px) {
        flex-direction: column;
        padding: 24px 16px;
      }
    }
  }


  .payment_completed_wrap {
    border-radius: 8px;
    border: 1px solid #CCD0D7;
    padding: 32px;
    background: #FAFAFA;

    @media screen and (max-width:767px) {
      padding: 16px;
    }

    .contents {
      border-radius: 16px;
      background: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 120px 56px 56px 56px;
      text-align: center;

      @media screen and (max-width:767px) {
        padding: 56px 16px;
      }

      .success {
        background: #EDFCF1;
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        line-height: 130%;
        color: #000;
        width: fit-content;
      }

      h3 {
        font-size: 32px;
        font-weight: 600;
        line-height: 130%;
        color: #000;
        margin: 16px 0 8px 0;

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

      p {
        font-size: 16px;
        font-weight: 500;
        line-height: 130%;
        color: #000;
        margin: 0;
      }

      img {
        margin-bottom: 56px;
        width: 100px;
        height: 100px;
      }

      .navigation_flex {
        margin-top: 32px;
        display: flex;
        gap: 16px;

        @media screen and (max-width:767px) {
          flex-direction: column;
          width: 100%;
        }
      }
    }
  }
}

.fields_group {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  position: relative;

  label {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #000;
    margin-bottom: 16px;
  }

  .fieldControl {
    border: 1px solid;
    border-color: #E0E0E0;
    padding: 8px 16px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #000;
    border-radius: 8px;

    &::placeholder {
      color: #616F86;
    }

    &.invalid {
      border-color: red;
    }
  }

  .errorMsg {
    color: red;
    font-size: 12px;
    font-weight: 500;
    line-height: 130%;
    display: none;
    position: absolute;
    bottom: -22px;
  }
}

.radio_toggle_wrap {
  display: flex;
  gap: 24px;
  align-items: center;

  @media screen and (max-width:767px) {
    gap: 16px;
  }

  .radio_toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin: 0;

    input {
      display: none;
    }

    .labelText {
      margin-right: 16px;
      font-size: 16px;
      font-weight: 500;
      color: #000;
      line-height: 150%;
    }

    .switch {
      width: 40px;
      height: 20px;
      border-radius: 50px;
      background: #B6B8B7;
      position: relative;
      transition: background 0.3s ease;

      &::after {
        content: "";
        width: 12px;
        height: 12px;
        background: #fff;
        border-radius: 50%;
        position: absolute;
        top: 4px;
        left: 4px;
        transition: all 0.3s ease;
      }
    }

    input:checked+.switch {
      background: #016f06;
    }

    input:checked+.switch::after {
      transform: translateX(20px);
    }
  }
}

.custom_checkbox {
  display: grid;
  grid-template-columns: repeat(2, auto);
  /* 2 labels per line */
  gap: 8px 24px;
  /* row gap, column gap */

  label {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #000;
    cursor: pointer;
    user-select: none;

    input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
    }

    .checkmark {
      width: 20px;
      height: 20px;
      border: 2px solid #CCD0D7;
      background: #fff;
      border-radius: 4px;
      margin-right: 8px;
      display: inline-block;
      transition: all 0.2s ease;
    }

    input:checked~.checkmark {
      background-color: #016f06;
      border-color: #016f06;
    }

    input:checked~.checkmark::after {
      content: "";
      position: absolute;
      left: 7px;
      top: 2px;
      width: 6px;
      height: 12px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }

    .checkmark2 {
      width: 20px;
      height: 20px;
      border: 2px solid #CCD0D7;
      background: #fff;
      border-radius: 4px;
      margin-right: 8px;
      display: inline-block;
      transition: all 0.2s ease;
    }

    input:checked~.checkmark2 {
      background-color: #016f06;
      border-color: #016f06;
    }

    input:checked~.checkmark2::after {
      content: "";
      position: absolute;
      left: 6px;
      top: 14px;
      width: 6px;
      height: 12px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
  }
}

.form-select {
  max-width: 200px;
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  color: #000;
  border: 1px solid #000;

  &:focus {
    box-shadow: none;
    border-color: #000;
  }
}

.breadcrum_list {
  margin-bottom: 32px;
  padding-left: 0px;

  li {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    color: #616F86;
    margin-right: 18px;

    &::after {
      content: "/";
      color: #616F86;
      position: absolute;
      top: 0;
      bottom: 0;
      right: -13px;
      margin: auto 0;
    }

    a {
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;

      img {
        width: 14px;
        height: 14px;
        transform: rotate(180deg);
      }

      span {
        font-size: 16px;
        font-weight: 500;
        line-height: 130%;
        color: #000;
        text-decoration: underline;
      }
    }

    &:last-child {
      margin-right: 0;

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

.btnPrimary {
  display: inline-block;
  background: #016f06;
  border-radius: 4px;
  color: #FFFDFA;
  padding: 11px 32px 11px 16px;
  position: relative;
  cursor: pointer;

  &::after {
    content: "";
    background-image: url("../../../images/arrow-white.svg");
    width: 14px;
    height: 14px;
    position: absolute;
    right: 14px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    transition: transform 0.3s ease-in-out;
  }

  &.bordered {
    border: 1px solid #E0E0E0;
    background: transparent;
    color: #000;

    &::after {
      background-image: url("../../../images/arrow-dark.svg");
    }
  }

  &:hover {

    &::after {
      transform: translateX(30%);
    }
  }
}