.ecre-upgrade-banner,
.ecre-influencer-banner,
.ecre-ratting-banner {
  margin: 20px 10px;

  .ecre-upgrade-close, 
  .ecre-influencer-close,
  .ecre-ratting-open {
    position: absolute;
    right: 35px;
    cursor: pointer;

    &::before {
      content: url("../../assets/icons/cross.svg");
    }
  }

  .banner-content {
    display: flex;
    .ecre-influencer-image, .ecre-upgrade-image {
      .ecre-image-icon {
        margin: 20px;
        padding: 10px;
        vertical-align: top;
        align-self: flex-start;
      }
    }
 
    .ecre-influencer-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: left;
      margin-right: 10px;
      margin-top: 10px;
      width: 88%;
 
      h3.rating-heading {
        font-weight: 400;
        font-size: 1.3rem;
        .echo-rewards-plugin-title{
          font-weight: 600;
        }
      }

      p.review-notice {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        font-family: inter;
      }


      .bottom-fields {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .already-did-hook {
          padding: 15px 20px;
          background: #F9FAFB;
          border-radius: 8px;
          font-weight: 400;
          font-size: 16px;
          line-height: 21px;
          color: #4B5563;
          text-decoration: none;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border: none;
          transition: all 0.3s ease;
          cursor: pointer;

          &:hover {
            background: #efefef;
            color: #6b6a6a;
          }
        }

        .rating-container {
          display: flex;
          flex-direction: row;
          cursor: pointer;

          .ratting-yellow-icon {
           content: url(" ../../assets/icons/yellow-star2.svg");
            width: 28px;
            height: 28px;
          }

          .ratting-gray-icon {
           content: url(" ../../assets/icons/gray-star.svg");
            width: 28px;
            height: 28px;
          }

          .ratting-orange-icon {
           content: url(" ../../assets/icons/orange-star.svg");
            width: 28px;
            height: 28px;
          }
        }
      }




    }



  }

  .ratting_popup-container {
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 65, 81, 0.3);
    vertical-align: middle;
    display: flex;
    align-items: center;
    transform: scale(1);
    
     h3 {
      margin: 10px;
    }

    .ratting_popup-content {
      background-color: #fefefe;
      margin: auto;
      padding: 15px;
      border: 1px solid rgba(18, 27, 33, 0.2);
      border-radius: 0.95rem;
      width: 450px;

      a.close {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        background: none;
        padding: 0;
        margin-right: 5px;
        text-decoration: none;
        font-weight: 500;

        &:hover {
          color: #333;
        }
      }

      .ratting_popup_wrap {
        text-align: left;
        margin-left: 10px;

        h4 {
          font-size: 18px;
          font-family: inherit;
          color: #111827;
          line-height: 28px;
          margin: 0;
          padding: 0px;
          font-weight: 500;
        }
      }

      .ratting_select-wrapper {
        margin-top: 35px;
        margin-left: 10px;

        .custom-select {
          position: relative;
          width: 200px;
          margin-top: 5px;

          &.open .selected-option::after {
            transform: translateY(-50%) rotateX(180deg);
          }

          span.selected-option {
            width: 395px;
            padding: 18px 15px;
            border-radius: 8px;
            position: relative;
          } 

          .selected-option {
            display: block;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            cursor: pointer;

            &::after {
             content: url(" ../../assets/icons/arrow-down.svg");
              position: absolute;
              top: 50%;
              right: 10px;
              transform: translateY(-50%);
              font-size: 16px;
              line-height: 24px;
              color: #555;
              z-index: 9;
              pointer-events: none;
            }


            span {
              width: 395px;
              height: 45px;
              border-radius: 8px;
              line-height: 2;
              position: relative;
            }
          }

          .options-list {
            display: none;
            position: absolute;
            list-style: none;
            padding: 0;
            margin: 0;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #fff;

            li {
              padding: 10px;
              cursor: pointer;

              &:hover {
                background-color: #EFF6FF;
                border-radius: 5px;
              }

              &:nth-child(1) {
                background-color: #EFF6FF;
                border-radius: 5px;
              }
            }
          }

          ul.options-list {
            width: 423px;
            height: 170px;
            border-radius: 8px;
            line-height: 2;
            font-size: 16px;
            font-weight: 400;
          }

          li.remind-me-text {
            font-weight: 300;
            font-size: 16px;
            color: #7c7c7c;
          }
        }

        .promo_close_btn_submit {
          margin: 10px 0px;
          text-align: right;
          margin-right: 10px;
        }
      }

      @media (max-width: 1056px) {
        background-color: #fefefe;
        margin: auto;
        padding: 15px;
        border: 1px solid #888;
        width: 50%;
      }
    }
  }

.ratting-rating-close,
.ratting-upgrade-close,
.ratting-influencer-close {
  position: absolute;
  right: 35px;
  cursor: pointer;

  &::before {
   content: url(" ../../assets/icons/cross.svg");
  }
}

}

.ecre-influencer-banner {
  h3{
    font-family: inherit;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    padding: 0px;
  
    span {
      font-weight: 600;
      color: #7c3aed;
    }
  }

  .link-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    h3{
      font-size: 1.3em;
    }
  }

  .influencer-button {
    padding: 10px 35px 10px 18px;
    border: 2px solid #7c3aed;
    color: #fff;
    font-size: 16px;
    background-color: #7c3aed;
    backface-visibility: hidden;
    border-radius: 8px;
    text-decoration: none;
    &:hover{
      color: #fff;
    }
  
    span::after {
     content: url(" ../../assets/icons/right-arrow.svg");
      position: absolute;
      margin-left: 5px;
      margin-top: 2px;
    }
  
    &:hover span::after {
     content: url(" ../../assets/icons/right-arrow.svg");
      margin-left: 10px;
      transition: 0.3s all ease-out;
    }
  }
  
}

.ecre-influencer-banner,
.ecre-ratting-banner {
  flex-direction: row;
  padding: 20px 10px;
  font-family: inter;
  box-sizing: border-box;
 //margin: 20px auto;
  border: 2px solid #e5e7eb;
  background-color: #fff;
  border-radius: 4px;
}

.ecre-ratting-banner {
  .ratting_custom-select option {
    font-size: 16px;
  }
  
  .ratting_custom-select option:checked {
    font-size: 16px;
  }
  
  .ratting_custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f7f7f7;
    border: 2px solid rgba(156, 163, 175, 1) !important;
    padding: 10px;
    width: auto;
    min-width: 95%;
    border-radius: 0.3rem !important;
    cursor: pointer;
  }
  
  .ratting_show_the_popup_start {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
    align-self: flex-start;
  }
  
  .ratting_custom-select {
    margin-top: auto;
  }
  
  .ratting_custom-button {
    display: inline-block;
    padding: 10px 40px 10px 40px;
    background-color: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: normal;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
  
    &:hover {
      color: #fff;
      background-color: #003bbe;
    }
  }
  
  .ratting_popup_wrap1 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
  
    p {
      font-size: 16px !important;
      color: darkslategrey;
      font-weight: 500;
    }
  }

  .ratting-image-icon {
    margin: 20px;
    padding: 10px;
    vertical-align: top;
    align-self: flex-start;
  }
}

.ecre-upgrade-banner {
  flex-direction: row;
  padding: 20px 10px;
 //margin: 20px auto;
  font-family: inter;
  box-sizing: border-box;
  border: 2px solid #e5e7eb;
  background-color: #fff;
  border-radius: 4px;

  .content {
    display: flex;
    flex-direction: column;
    margin: 30px 0px 0px 0px;
    justify-content: left;

    h3 {
      font-family: inherit;
      font-weight: 400;
      font-size: 20px;
      line-height: 30px;
      margin: 0;
      padding: 0px;
    }

    span {
      font-weight: 600;
    }
  }
  .upgrade-btn-wrapper {
    margin-top: 30px;
  }
  
  .upgrade-btn-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 18px;
  }
  
  .upgrade-button {
    background-color: #ec4899;
    border-radius: 10px;
    padding: 12px 40px 12px 18px;
    margin: 20px 0px;
    border: none;
    backface-visibility: hidden;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
  
    &:hover,
    &:link,
    &:visited {
      color: #fff;
    }
  
    span::after {
     content: url(" ../../assets/icons/right-arrow.svg");
      position: absolute;
      margin-left: 5px;
      margin-top: 2px;
    }
  
    &:hover span::after {
     content: url(" ../../assets/icons/right-arrow.svg");
      margin-left: 10px;
      transition: 0.3s all ease-out;
    }
  }

}

.ecre-influencer-banner {
  .affiliate-button {
    padding: 10px 18px;
    border: 2px solid #7c3aed;
    background-color: #fff;
    font-size: 16px;
    color: #7c3aed;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 10px;
  }
}
