@tailwind base;
@tailwind components;
@tailwind utilities;
@import "./component/_animations";

:root {
  --currentColor: '#000'
}

.easy-video-reviews-wrapper {
  -webkit-tap-highlight-color: transparent;
  // @media (min-width: 768px){
  //   height: calc(100vh - 97px);
  // }
  
  @apply max-w-full h-full relative m-0 pb-8 pt-5 px-[15px] md:pb-10 md:px-5;

}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.transition {
  transition: all 0.3s ease !important;
}

.rounded-tbl {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.rounded-tbr {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.evr_btn {
  transition: all 0.3s ease;
  @apply text-sm sm:text-base font-bold px-6 sm:px-8 lg:px-12 py-2 sm:py-3 lg:py-4 rounded-full border border-solid border-[#3858E9]  bg-[#3858E9] hover:bg-white hover:text-[#3858E9] text-white;

  &.btn-border {
    @apply hover:bg-[#3858E9] bg-white hover:text-white text-[#3858E9];
  }
}

.evr-recorder-button {
  cursor: pointer;
  padding: 0.5rem 1rem;
  text-decoration-line: none;
  transition-duration: .1s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  border-radius: 0.125rem;
  display: inline-block;
}

.evr_btn-shortcode {
  transition: all 0.3s ease;
  @apply text-sm font-normal px-5 py-[10px] mx-[15px] my-[10px] rounded-full border border-solid border-[#8B54FF] bg-white hover:bg-white focus:text-[#8B54FF] text-black;

  &:hover {
    box-shadow: 0 0 0 12px #F4F6FB !important;
  }
}

.evr-shadow-none {
  box-shadow: none !important;
}

.evr-outline-none {
  outline: 0 !important;

  &:hover, &:focus {
    outline: 0 !important;
  }
}
.evr-line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.evr-line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.evr-line-clamp-5 {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.evr-line-clamp-6 {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.color-picker {
  
  input[type="color" i] {

    &::-webkit-color-swatch-wrapper {
      padding: 0;
      margin: 0;
    }
    &::-webkit-color-swatch {
      border: 0;
      margin: 0;
      padding: 0;
      border-radius: 5px;
    }
  }
}

.border-gradient-to-bottom {
  border: 1px solid transparent;
  background-clip: padding-box;

  .link {
    border-radius: 6px;
  }

  &::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    border-radius: 6px;
    background-image: linear-gradient(to bottom, var(--currentColor), rgba(255, 255, 255, 1));
  }
}

// .easy-video-reviews_page_easy-video-reviews-onboarding {
//   #wpbody-content {
//     height: 100%;
//     float: initial;
//   }
// }

.btn-switch {

  input:checked ~ .dot-round {
    background-color: #1877F2 !important;
  }

  input:checked ~ .dot {
    transform: translateX(100%);
  }
}

input[type=radio] {
  appearance: none !important;
}

input[type=radio]:checked {
  border-width: 4px !important;
  border-color: #1877F2 !important;
}

.evr_tooltip {
  z-index: 99999 !important;
  @apply inline-block bg-slate-700 fixed transition duration-150 px-5 py-3 rounded-sm text-sm shadow-xl text-white ;
}

.btn-checkbox {

  input:checked ~ .checkbox-icon {
    border-color: #1877F2 !important;
    background-color: #1877F2;
    svg {
      display: block !important;
    }
  }

  .checkbox-icon {
    border-radius: 2px;
    background-color: #fff;
    border: 1px solid #B1BDCC;
  }
}

.dropdown {

  &.published-dropdown {

    .dropdown-body {
      margin-top: 6px;
      padding: 0 !important;
      overflow: hidden !important;
      min-width: 186px !important;
      border-radius: 10px !important;

      .published-dropdown__list {

        li {
          transition: all 0.3s ease;

          &.active {
            background-color: #F3F8FF !important;
          }
        }
      }
    }
  }

  &.share-dropdown {
    
    .dropdown-body {
      right: auto !important;
      left: 0 !important;
    }
  }
}

.onboarding-multisteps {

  &__welcome {
    @apply pt-10 md:pt-0;
  }

  &__dots {
    
    ul.steps-dot {
      @apply flex items-center justify-center mb-2;

      li {
        transition: all 0.3s ease;
        @apply h-2 w-2 rounded-full bg-[#CED6E1] mx-1;

        &.active {
          width: 20px;
          background-color: #1877F2;
        }
      }
    }
  }

  &__video-recorder, &__review-options, &__congratulations {
    // max-width: 735px;

    a {
      transition: all 0.3s ease;
    }

    .select-duration {

      &__options {

        li {
          transition: all 0.3s ease;

          .badge {
            background: linear-gradient(180deg, #32D8FC 0%, #396BEC 100%);
            @apply text-xs text-white font-bold rounded-3xl flex justify-center items-center px-2 py-[3px];
          }
        }
      }
    }

    .btn-back {
      
      &:hover {

        svg {

          path {
            fill: #3858E9;
          }
        }
      }
    }
  }
}

.reviews {
  .menu-btn {
    display: flex;
    border-radius: 5px;
    text-align: left;
    padding: 10px 10px;
    transition: all 0.3s ease;
    @apply lg:px-[10px] lg:py-[6];

    svg {
      margin-top: 6px;
      path {
        transition: all 0.3s ease;
      }
    }
   
    &.active, &:hover, &:focus {
      color: white;
      background-color: #3858E9 !important;

      svg {

        path {
          fill: white;
        }
      }
      .folder-selection-mark{
        background-color: #fff !important;
      }
    }
  }
  .input-search {
    input[type="search"]{
      transition: all 0.3s ease;

      &:hover, &:focus {
        outline: 0;
        box-shadow: none;
      }
      

      &::-webkit-search-cancel-button {
        -webkit-appearance: none;
        height: 9px;
        width: 9px;
        margin-left: .4em;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="9" height="9" viewBox="0 0 9 9" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.119848 0.119792C0.279623 -0.0399523 0.538645 -0.0399276 0.698389 0.119848L4.49928 3.92146L8.30167 0.119792C8.46144 -0.0399523 8.72046 -0.0399276 8.88021 0.119848C9.03995 0.279623 9.03993 0.538645 8.88015 0.698389L5.07818 4.49964L8.88018 8.30164C9.03994 8.4614 9.03994 8.72042 8.88018 8.88018C8.72042 9.03994 8.4614 9.03994 8.30164 8.88018L4.5 5.07854L0.698362 8.88018C0.538602 9.03994 0.27958 9.03994 0.11982 8.88018C-0.03994 8.72042 -0.03994 8.4614 0.11982 8.30164L3.9211 4.50036L0.119792 0.698334C-0.0399523 0.538559 -0.0399276 0.279537 0.119848 0.119792Z" fill="%23929A9E"/></svg>');
        cursor: pointer;
      }
    }
  }
}
.gallery-swiper-slider {
  @apply px-[35px] sm:px-[45px];

  .swiper-button-next, .swiper-button-prev { 
    @apply min-w-[30px] w-[30px] h-[30px] bg-white rounded-full shadow border border-gray-400;

    &::after {
      @apply text-xs text-gray-400;
    }

    &:hover {
      @apply bg-blue-600 border-blue-600;

      &::after {
        @apply text-white;
      }
    }
  }

  .swiper-button-prev {
    @apply left-[-5px] sm:left-0;
  }
  
  .swiper-button-next {
    @apply right-[-5px] sm:right-0;
  }
}

.gallery-tab-panel {
  
  &__nav {

    li {

      a {
        transition: all 0.3s ease;
      }

      &.active {
        a {
          opacity: 1 !important;
          color: white !important;
          background-color: #3858E9 !important;
        }
      }
    }
  }
}

.gallery-tab-panel {
  
  &__nav {

    li {

      a {
        transition: all 0.3s ease;
      }

      &.active {
        a {
          opacity: 1 !important;
          color: white !important;
          background-color: #3858E9 !important;
        }
      }
    }
  }
}

.integration, .settings, .profile-plan, .utilities {

  &__tab-nav {

    li {
      
      a {
        transition: all 0.3s ease;
      }

      &.active {
        
        a {
          opacity: 1 !important;
          color: white !important;
          background-color: #3858E9 !important;
        }
      }
    }
  }

}

.settings__tab-content {
  .select-duration {

    &__options {

      li {
        transition: all 0.3s ease;

        .badge {
          background: linear-gradient(180deg, #32D8FC 0%, #396BEC 100%);
          @apply text-xs text-white font-bold rounded-3xl flex justify-center items-center px-2 py-[3px];
        }
      }
    }
  }
}


.profile-plan {

  .upgrade-plan {
    background: linear-gradient(92deg, #FE6AA6 2.92%, #FE8C6D 97.58%);
  }
  
  .table-btn {
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 50px;
    border-radius: 38px;
    background: linear-gradient(92deg, #615BD9 5.43%, #C34BFB 97.07%);
    transition: all 0.5s ease;
  
    &:hover, &:focus {
      background: linear-gradient(92deg, #FE6AA6 2.92%, #FE8C6D 97.58%);
    }
  }

  .feature-list {
    border-radius: 10px;
    border: 1px solid #E6E7EC;
    background: #FCFDFF;
    box-shadow: 10px 4px 26px 0px rgba(49, 64, 203, 0.10);
    
    table {
      tbody {
        tr {
          th {
            &.marker {
              position: relative;
      
              &:before {
                width: 8px;
                height: 8px;
                content: '';
                display: inline-block;
                border-radius: 500px;
                margin-right: 8px;
                background-color: #1877F2;
              }
            }
          }
        }
        td {
          svg {
            margin-left: auto;
            margin-right: auto;
          }
        }
      }
    }
  }
}

.after-day-select {
  font-size: 16px !important;
  line-height: 1 !important;
  border-radius: 3px !important;
  padding: 0 24px 0 8px !important;
  min-height: 22px !important;
  max-width: inherit !important;
  background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="21" viewBox="0 0 20 21" fill="none"><rect width="20" height="21" fill="%23ECF0F7"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.12553 9.14645C7.29289 8.95118 7.56425 8.95118 7.73162 9.14645L10 11.7929L12.2684 9.14645C12.4358 8.95118 12.7071 8.95118 12.8745 9.14645C13.0418 9.34171 13.0418 9.65829 12.8745 9.85355L10.303 12.8536C10.1357 13.0488 9.86432 13.0488 9.69695 12.8536L7.12553 9.85355C6.95816 9.65829 6.95816 9.34171 7.12553 9.14645Z" fill="%236B6F75"/></svg>') no-repeat right 0px top 0px !important;
  background-size: auto !important;
}

.alignment, .preview-secreen {

  input[type="radio"]:checked + .alignment-btn {
    border-color: #3858E9 !important;
    background-color: #EDF0FF !important;
    color: #3858E9 !important; ;

    svg {

      path {
        fill: #3858E9 !important;
      }
    }
  }
}

.field-options {

  input[type="radio"]:checked + .alignment-btn {
    color: #3858E9 !important;
    background-color: #E9EDFF !important;

    svg {
      path {
        fill: #3858E9 !important;
      }
    }
  }
  
}

.floating-options {

  input[type="radio"]:checked + label {
    
    > span {
      &:first-child {
        border-color: #1877f2!important;
        border-width: 4px !important;
      }
    }
  }
}

.floating-button {

  .floating-hover-text {
    position: relative;
    filter: drop-shadow(0px 0px 10px rgba(97, 68, 159, 0.17));
    
    &::after {
      background-color: currentColor;
    }
  }
}
.floating-options__static{
  .wrapper{
    .widget__item{
      .label-for-svg{
        svg{
          height: 27px;
          width: 25px;
        }
      }
    }
  }
}

#previeebtnsvg svg{
  height: 27px;
  width: 25px;
}

.login_btn {
  transition: all 0.3s ease;
  
  &:hover, &:focus {

    svg {
      path {
        fill: #F87171;
      }
    }
  }
}

.add-file {
  transition: all 0.3s ease;

  &:hover {
    background: #8B54FF;
    color: white !important;

    svg {
      path {
        fill: white;
      }
    }
  }
}

.evr_btn {
  
  .evr-spinner {
    border-top-color: #fff;
  }

  &:hover {
    
    .evr-spinner {
      border-top-color: #3858E9;
    }

  }
}

.utilities {

  &__export-content {
    input::-webkit-file-upload-button {
      cursor: pointer;
    }
  }
}

.evr-spinner {
  margin: 0 8px;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  font-size: 16px;
  display: inline-block;
  border-top-color: white;
  vertical-align: middle;
  border: .215em solid transparent;
  animation: spin 1s cubic-bezier(.55, .15, .45, .85) infinite;
}

.evr-modal-spinner {
  margin: 0 8px;
  border-radius: 50%;
  width: 84px;
  height: 84px;
  font-size: 16px;
  display: inline-block;
  border-top-color: white;
  vertical-align: middle;
  border: 9px solid #3858E9;
  animation: spin 1s cubic-bezier(.55, .15, .45, .85) infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

@keyframes slide-in-down {
  0% {
      transform: translateY(-20px);
      opacity: 0;
  }

  50% {
      opacity: .8;
  }

  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slide-out-down {
  0% {
      transform: translateY(0);
      opacity: 1;
  }

  40% {
      opacity: .2;
  }

  100% {
      transform: translateY(20px);
      opacity: 0;
  }
}

.border-gradient-to-bottom {
  border: 1px solid transparent;
  background-clip: padding-box;

  .link {
    border-radius: 6px;
  }

  &::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    border-radius: 6px;
    background-image: linear-gradient(to bottom, var(--currentColor), rgba(255, 255, 255, 1));
  }
}

@import "./component/_guideTooltips";
@import "./component/rangeSlider";

.modal-animation-enter-active,
.modal-animation-leave-active {
  transition: opacity 0.3s cubic-bezier(0.52, 0.02, 0.19, 1.02);
}

.modal-animation-enter-from,
.modal-animation-leave-to {
  opacity: 0;
}

.modal-animation-inner-enter-active {
  transition: all 0.3s cubic-bezier(0.52, 0.02, 0.19, 1.02) 0.15s;
}

.modal-animation-inner-leave-active {
  transition: all 0.3s cubic-bezier(0.52, 0.02, 0.19, 1.02);
}

.modal-animation-inner-enter-from {
  opacity: 0;
  transform: scale(0.8);
}

.modal-animation-inner-leave-to {
transform: scale(0.8);
}

.evr-modal {

  z-index: 9999999999 !important;

  &.z-\[99\] {
    z-index: 9999999999 !important;
  }

  .evr-container {
    display: flex;
  }

  .evr-content {
    width: 100%;
    margin-top: auto;
    margin-left: 160px;
    margin-bottom: auto;
    padding: 52px 15px 30px;

    @media only screen and (max-width: 960px) {
      margin-left: 36px;
    }

    @media only screen and (max-width: 782px) {
      margin-left: 0px;
    }
  }

  &.video-modal {

    >.evr-container {

      .evr-content {

        .evr-modal-inner {
          width: 658px !important;
          max-width: 658px !important;
    
          .share-dropdown {
    
            .dropdown-body {
              width: auto !important;
              padding: 0 !important;
              border: 0 !important;
              min-width: auto !important;
              background-color: transparent !important;
    
              .socail-media {
                display: flex;
                margin-top: 10px;
              }
            }
          }
    
          .evr-modal-body {
            padding-top: 10px !important;
          }
        }
      }
    }

  }

  &.gallery-add-review{

    >.evr-container {

      .evr-content {
        
        .evr-modal-inner {
          border-radius: 10px;
          width: 100% !important;
          max-width: 1036px !important;
          background-color: #fff !important;
    
          .evr-modal-header {
            display: none !important;
          }
    
          .evr-modal-body {
            padding: 0 !important;
    
            .menu-btn {
              padding: 15px 15px;
              border-radius: 5px;
          
              svg {
                margin-top: 5px;
              }
            }
          }
        }
      }
    }
    
  }

  &.move-review-modal{
    >.evr-container {

      .evr-content {
        
        .evr-modal-inner {
          border-radius: 10px;
          width: 100% !important;
          max-width: 1036px !important;
          background-color: #fff !important;

          .folder-list{
            svg {
              margin-right: 6px;
              path {
                transition: all 0.3s ease;
              }
            }
            .folder{
              &.active{
                svg {

                  path {
                    fill: white;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  &.woocommerce-review-button {

    >.evr-container {

      .evr-content {
        
        .evr-modal-inner {
          border-radius: 10px;
          width: 100% !important;
          max-width: 886px !important;
          background-color: #fff !important;
    
          .evr-modal-header {
            display: none !important;
          }
    
          .evr-modal-body {
            padding: 0 !important;
          }
        }
      }
    }
    
  }

  &.connected-website {

    >.evr-container {

      .evr-content {
        
        .evr-modal-inner {
          border-radius: 10px;
          width: 100% !important;
          max-width: 742px !important;
          background-color: #fff !important;
        }

        .evr-modal-footer {
          padding: 0 !important;
        }
      }
    }
    
  }

  &.support-modal {

    .evr-container  {

      .evr-content {

        .evr-modal-inner {
          width: 100% !important;
          max-width: 512px !important;
    
          .evr-modal-header {
            align-items: flex-start !important;

            @media only screen and (max-width: 575px){
              padding: 20px !important;
            }

            .evr-close-modal {
              margin-bottom: 0 !important;
            }

          }
    
          .evr-modal-body {
            padding-bottom: 20px !important;
            
            @media only screen and (max-width: 575px){
              padding: 20px !important;
            }
          }
    
          .evr-modal-footer {
            display: none !important;
          }
        }
      }
    }
  }

  &.authentication-modal {

    >.evr-container  {

      .evr-content {

        .evr-modal-inner {
          width: 570px !important;
          max-width: 570px !important;
    
          .evr-modal-body {
            padding-top: 0px !important;
          }
    
          .evr-modal-footer {
            padding-bottom: 10px !important;
          }
        }
      }
    }
  }
} 

.evr-switch-effect {

  &-wobble {
    animation: wobble 1s linear 2;
  }

  @keyframes wobble {
      0% {
          transform: rotate(0deg);
      }
      15% {
          transform: rotate(-5deg);
      }
      30% {
          transform: rotate(3deg);
      }
      45% {
          transform: rotate(-3deg);
      }
      60% {
          transform: rotate(2deg);
      }
      75% {
          transform: rotate(-1deg);
      }
      100% {
          transform: rotate(0deg);
      }
  }

  // vibrate
  &-vibrate {
      animation: vibrate 0.3s linear 4;
  }

  @keyframes vibrate {
      0% {
          transform: translateX(0);
      }
      25% {
          transform: translateX(2px); /* Shift the element to the right */
      }
      50% {
          transform: translateX(-2px); /* Shift the element to the left */
      }
      75% {
          transform: translateX(2px); /* Shift the element to the right again */
      }
      100% {
          transform: translateX(0); /* Back to the initial position */
      }
  }
  

  // flicker
  &-flicker {
      animation: flicker 0.6s linear 1;
  }

  @keyframes flicker {
      0% {
          opacity: 1;
      }
      25% {
          opacity: 0.5;
      }
      50% {
          opacity: 1;
      }
      75% {
          opacity: 0.5;
      }
      100% {
          opacity: 1;
      }
  }

  // shake
  &-shake {
      animation: shake 0.3s linear 1;
  }

  @keyframes shake {
      0% {
          transform: translate(0px);
      }
      25% {
          transform: translate(-2px, 0px);
      }
      50% {
          transform: translate(0px);
      }
      75% {
          transform: translate(2px, 0px);
      }
      100% {
          transform: translate(0px);
      }
  }

  // jello
  &-jello {
      animation: jello 0.9s 1;
  }

  @keyframes jello {
      0% {
          transform: scale3d(1, 1, 1);
      }
      30% {
          transform: scale3d(1.25, 0.75, 1);
      }
      40% {
          transform: scale3d(0.75, 1.25, 1);
      }
      50% {
          transform: scale3d(1.15, 0.85, 1);
      }
      65% {
          transform: scale3d(0.95, 1.05, 1);
      }
      75% {
          transform: scale3d(1.05, 0.95, 1);
      }
      100% {
          transform: scale3d(1, 1, 1);
      }
  }

  // bounce
  &-bounce {
      animation: bounce 1s linear 1;
  }
  @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
          transform: translateY(0);
      }
      40% {
          transform: translateY(-30px);
      }
      55% {
          transform: translateY(0);
      }
      65% {
          transform: translateY(-15px);
      }
      75% {
          transform: translateY(0);
      }
  }
  
  

  // heartbeat
  &-heartbeat {
      animation: heartbeat 1s linear 1;
  }

  @keyframes heartbeat {
      0% {
          transform: scale(1);
      }
      25% {
          transform: scale(1.1);
      }
      50% {
          transform: scale(1);
      }
      75% {
          transform: scale(1.1);
      }
      100% {
          transform: scale(1);
      }
  }

  // blink
  &-blink {
      animation: blink .3s linear 1;
  }

  @keyframes blink {
      0% {
          opacity: 1;
      }
      50% {
          opacity: 0;
      }
      100% {
          opacity: 1;
      }
  }


}
