@import url('https://fonts.googleapis.com/css2?family=SUSE:wght@100..800&display=swap');
.header {
  background: #2E4B4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.header .lynked-logo {
  width: 156px;
  height: auto;
}

h2.lynked-title {
  font-size: 28px;
  font-weight: bold;
  margin: 20px;
  color: #2E4B4E!important;
  font-family: "SUSE", serif;
  text-align: center;
}

.setupInstruction--wrapper, .settings--popup {
  margin: 0 25px;
}

.description {
  font-size: 15px;
  line-height: 1.75;
}

li.description {
  margin: 7px 0;
}

.link {
  &, &:active, &:visited {
    text-decoration: none;
    color: #6CA6AA;
    margin-left: 5px;
  }
}

h3 {
  &.title-h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2E4B4E;

    &.subtitle {
      text-align: center;
      font-size: 23px;
      margin-bottom: 20px;
    }

    &.collect {
      margin-top: 25px;
    }
  }
}

h4.title-h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #2E4B4E;
}


.withoutSpace {

  &, &:active, &:visited {
    margin-left: 0;
  }
}

.lynked-description {
  font-size: 18px;
  margin: 0 25px 20px;
  color: #2E4B4E;
  line-height: 1.75;
}

.settings--popup {
  .title-h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2E4B4E;
  }
  .save--wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    .save--btn{
      width: 25%;
      border: none;
      border-radius: 8px;
      background: #2E4B4E;
      color: #ffffff;
      font-size: 18px;
      font-weight: 500;
      line-height: 23px;
      text-align: center;
      padding: 10px;
      transition: all .15s ease;
      cursor: pointer;
      &:disabled{
        background: #2E4B4E;
        opacity: .2;
      }
    }
  }

  .settings--container {
    display: flex;
    .settings--form{
      width: 49%;
      .field-wrap{
        margin-bottom: 15px;
        .label{
          font-size: 16px;
          font-weight: 700;
          margin-bottom: 10px;
          color: #2E4B4E;
        }
        .color--inputs-wrap{
          display: flex;
          align-items: center;
          justify-content: flex-start;
          .color-input{
            background: none;
            border: 1px solid #2E4B4E;
            width: 100px;
            height: 25px;
            min-height: 25px;
            -webkit-appearance: none;
            padding: 0;
            border-radius: 5px;
            &::-webkit-color-swatch {
              border: none;
              border-radius: 5px;
              padding: 0;
            }
            &::-webkit-color-swatch-wrapper {
              border: none;
              border-radius: 5px;
              padding: 0;
            }
          }
        }

        .input-wrap{
          display: flex;
          align-items: center;
          margin-bottom: 5px;
          cursor: pointer;
          p{
            margin:0 0 0 10px;
            font-size: 16px;
            font-weight: 500;
            color: #2E4B4E;
          }
        }
      }

      .colors-settings{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        .header-colors{

        }
        .main-colors{

        }
      }
    }

    .popup--show{
      position: relative;
      width: 49%;
      .lynked-rewards--wrapper {
        position: absolute;
        z-index: 800000 !important;
        bottom: 20px;
        min-width: 60px;
        min-height: 60px;
        margin-right: 20px;
        font-size: 14px;
      }

      .lynked-reward-content {
        padding: 24px;
        overflow-y: auto;
        overflow-x: hidden;
        height: 300px;
        .lynked-reward-inside-block {
          display: flex;
          flex-direction: column;
          .lynked-pointWays--wrapper {
            .lynked-pointWays {
              display: flex;
              padding: 20px 12px;
              justify-content: space-between;
              align-items: center;
              gap: 20px;
              align-self: stretch;
              margin-bottom: 12px;
              background-color: #ffffff;
              border-radius: 16px;
              box-shadow: 4px 4px 4px 0px rgba(108, 166, 170, 0.15);
              cursor: pointer;
            }

            .lynked-pointWays:hover {
              background-color: transparent;
              opacity: 0.7;
            }

            .lynked-pointsWays-item {
              display: flex;
              align-items: center;
              pointer-events: none;
            }

            .lynked-pointsWays-item .lynked-card-description {
              margin-left: 12px;
            }

            .lynked-pointsWays-item .lynked-pointsWays-icon{
              display: flex;
              align-items: center;
              justify-content: center;
              width: 30px;
              height: 30px;
              border-radius: 30px;

            }

            .lynked-pointWays .lynked-arrow-right {
              pointer-events: none;
              transform: rotate(180deg);
            }
          }
        }
      }

      .lynked-reward-content::-webkit-scrollbar {
        background-color: transparent;
        width: 0;
      }

      .lynked-reward-content .lynked-title, .lynked-reward-content--wrapper .lynked-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 120%;
        color: #6CA6AA;
        margin-bottom: 8px;
        margin-top: 15px;
        text-align: center;
      }

      .lynked-reward-content .lynked-card-description {
        line-height: 150%;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 13px;
        font-weight: 400;
        text-align: center;
        color: #3c464e;
        margin: 0;
      }
      .lynked-rewards--btn {
        background: rgb(86, 163, 243);
        min-width: 60px;
        height: 30px;
        border-radius: 50px;
        border: none;
        text-align: center;
        padding: 15px;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
      }

      .lynked-reward--btn {
        display: inline-flex;
        align-items: center;

        span {
          margin-left: 15px;
          font-size: 14px;
          color: white;
          font-weight: 700;
          font-family: "SUSE", serif;
        }

        img {
          width: 28px;
        }
      }

      .lynked-close-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 60px;
        height: 60px;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
      }

      .lynked-closeBlock .lynked-reward--btn {
        -webkit-animation: fadeIn .2s ease;
        animation: fadeIn .2s ease;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
      }

      /*    big modal */
      .lynked-reward-block {
        transition: all 0.3s ease-out;
        position: absolute;
        bottom: 100px;
        z-index: 1 !important;
        margin-right: 20px;
        right: 0;
        width: 378px;
        height: 450px;
        background: white;
        border-radius: 32px;
        box-shadow: 0 0 45px 23px rgba(168, 168, 168, 0.15);
        opacity: 0;
        pointer-events: none;
        font-family: "SUSE", serif !important;
      }
      .lynked-reward-block.lynked-view-block {
        pointer-events: all;
        opacity: 1;
      }
      .closeModal {
        position: absolute;
        right: 24px;
        top: 24px;
        cursor: pointer;
      }
      .lynked-reward--header {
        max-height: 150px;
        padding: 24px;
        position: relative;
        background: #2E4B4E;
        border-top-right-radius: 32px;
        border-top-left-radius: 32px;
        min-height: 60px;

        h2 {
          font-weight: 700;
          font-size: 32px;
          margin: 0;
          line-height: normal;
          color: white;
          font-family: "SUSE", serif;
        }

        h4 {
          margin: 0;
          font-size: 18px;
          font-family: "SUSE", serif;
          font-weight: 600;
          line-height: normal;
        }

        .lynked-points-reward{
          font-size: 14px;
          font-weight: 400;
          font-family: "SUSE", serif;
        }
      }

      .lynked-reward-footer {
        position: absolute;
        bottom: 0;
        z-index: 5;
        width: 100%;
        background: white;
        border-bottom-right-radius: 32px;
        border-bottom-left-radius: 32px;
        padding: 19px 0;
        box-sizing: border-box;
        height: 56px;
        text-align: center;

      }

      .lynked-reward-footer .lynked-card-description {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        font-family: "SUSE", serif;
      }
      .lynked-point-logo-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .lynked-point-logo-wrapper img {
        width: 30px;
        height: 35px;
      }
    }
  }
}
