@import "../components/Variables";
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');

.salon-landing-wrapper {
  font-family: 'Poppins', sans-serif;
}

.section-title {
  overflow: hidden;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;

  &:after {
    background-color: $app-color;
    content: "";
    display: inline-block;
    height: 3px;
    position: relative;
    vertical-align: baseline;
    width: 20px;
    left: 0.2em;
    margin-right: -50%;
  }
}

.subtitle {
  font-weight: 300;
  font-size: 17px !important;
}

.btn-landing {
  color: $white;
  font-size: 14px !important;
  padding: 0.4rem 1.15rem !important;
  border-color: $landing-secondary-color;
  background-color: $landing-secondary-color;
  transition: all 0.3s ease-in-out;

  @media (min-width: 576px) {
    &:hover {
      color: $white;
      border-color: $landing-app-color;
      background-color: $landing-app-color;
    }
  }

  @media (max-width: 575px) {
    &:hover {
      color: $white;
    }
  }
}

.text-landing-color {
  color: $landing-app-color;
}

.modal-landing {
  cursor: url("/images/close-cursor.png"), auto;

  .modal-dialog {
    @media (min-width: 767px) {
      width: 700px !important;
      max-width: 700px !important;
    }

    .modal-content {
      cursor: default !important;

      .modal-body {
        padding: 2.5rem;

        .text-payment-confirm {
          font-size: 17px;
          font-weight: 300;
        }

        .text-net-price {
          font-size: 30px;
        }

        .payments-button-wrapper {
          text-align: center;

          .payment-methods-button-container {
            width: initial;

            .payment-methods-btn {
              width: initial;
              margin-right: 1rem;
              border-radius: 2rem;
              padding: .5rem 1.7rem !important;

              &:hover {
                border-color: $landing-app-color !important;
                background-color: $landing-app-color !important;
              }
            }
          }

          .user-info-button {
            button {
              width: 100%;
              height: initial;
              padding: .5rem 1.15rem !important;

              &:hover {
                background-color: $landing-app-color !important;
              }
            }
          }
        }
      }

      .thank-you-icon {
        i {
          padding: 10px;
          font-size: 5em;
          border-radius: 50%;
          color: $landing-app-color;
          border: 3px solid $landing-app-color;
        }
      }
    }
  }
}

.price-label {
  padding: 0.375rem 0.75rem;
  background-color: #e6f2ff;
}

.img-service {
  border-radius: $default-radius;
}

.service-info-heading {
  font-size: 14px;
  opacity: 0.7;
}

.service-info-value {
  font-size: 15px;
  font-weight: normal;
}

.service-img-container {
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  background-size: cover !important;
  
  &.rounded-left-img-container {
    border-radius: 0.3rem 0 0 0.3rem;
    min-height: 100%;


    @media (max-width: 575px) {
      min-height: 14rem;
      border-radius: 0.3rem 0.3rem 0 0;
    }
  }

  @media (max-width: 767px) {
    max-height: 12rem !important;
    margin-bottom: 15px;
  }
}

.active-date {
  color: $white !important;
  border-radius: $default-radius;
  border-color: $landing-app-color !important;
  background-color: $landing-app-color !important;

  span {
    @media (min-width: 576px) {
      &:hover {
        border-color: transparent !important;
      }
    }
  }
}

/* Salon Header Top Css */
.header-top-section {

  a {
    color: #000;
  }

  .navbar-toggler {
    i {
      color: $landing-app-color;
    }
  }

  .navbar-nav {
    .nav-item {
      .nav-link {
        font-weight: 500;
        color: $landing-secondary-color;
        transition: all 0.3s ease-in-out;

        @media (min-width: 576px) {
          &:hover {
            color: $landing-app-color;
          }
        }
      }

      .active {
        span {
          padding-bottom: 2px;
          color: $landing-app-color;
          border-bottom: 2px solid $landing-app-color;
        }
      }
    }

    @media (max-width: 575px) {
      flex-direction: column !important;
    }
  }

  .mobile-menu-wrapper {
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 1040;
    transition: 0.5s;
    position: fixed;
    overflow-x: hidden;
    background-color: #fff;

    .navbar {
      padding: 0 !important;
      display: block !important;
      box-shadow: none !important;

      .menu-header-content {
        padding: 0.5rem 1rem;

        .close-btn {
          top: 10px;
          right: 10px;
          color: #000;
          opacity: 0.2;
          font-size: 20px;
          position: absolute;
        }
      }

      .menu-layout-content {
        .navbar-nav {
          @media (max-width: 991px) {
            flex-direction: column !important;
          }
        }
      }
    }
  }

  .mobile-menu-overlay {
    z-index: 1035;
    height: 100vh;
    width: 100vw;
    position: fixed;
    right: 0;
    top: 0;
    background: #ababab6b;
  }
}

/* Salon Banner and Service List Area CSS*/
.service-book-area {
  padding-top: 80px;
  background-color: #FAFBFE;

  .main-banner {
    padding: 10rem 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.15);

    .banner-title {
      font-size: 48px;
      font-weight: 500;
    }

    .banner-subtitle {
      font-size: 18px;
      font-weight: 500;
      white-space: pre-line;
      word-break: break-word;
    }

    .banner-area {

      .banner-service-area {

        .banner-content {
          padding: 45px;

          .sp-base {
            height: 45px;
            line-height: 32px;
            border-color: $landing-app-color;
            padding: .3rem 1.15rem !important;
          }

          .guest-selection {
            display: block;
            border-radius: 0.25rem;
            border: 1px solid $landing-app-color;

            .dropdown-toggle {
              &::after {
                color: $landing-app-color;
                content: "";
                position: absolute;
                top: 50%;
                right: 12px;
                margin-top: -1px;
                vertical-align: middle;
                display: inline-block;
                width: 0;
                height: 0;
                margin-left: 2px;
                border-top: 4px dashed;
                border-right: 4px solid transparent;
                border-left: 4px solid transparent;
                transition: transform .2s ease;
              }
              span {
                top: 10px;
                position: absolute;
              }
              .la-user-tie {
                font-size: 20px;
                font-weight: 700;
                padding-right: 0.4rem;
              }
            }

            .dropdown-menu {
              border-radius: 0;
              border-color: $white;
              top: 5px !important;
              box-shadow: 0 3px 8px rgba(0, 0, 0, .25);

              .dropdown-item {
                padding: 10px;

                @media (max-width: 575px) {
                  &:focus {
                    color: inherit !important;
                    background-color: #f0f2f7 !important;
                  }
                  &:hover {
                    color: inherit !important;
                    background-color: #f0f2f7 !important;
                  }
                }

                @media (min-width: 576px) {
                  &:hover {
                    color: inherit;
                    background-color: #f0f2f7;
                  }
                }

                .guest-number {
                  font-size: 17px;

                  .la-plus-circle, .la-minus-circle {
                    @media (min-width: 576px) {
                      &:hover {
                        color: $landing-app-color;
                      }
                    }
                  }
                }
              }
            }

            .btn {
              color: #aaa;
              height: 44px;
              text-align: left;
              font-weight: normal !important;
              padding: .3rem 1.15rem !important;
            }
          }

          .guest-selection.show {
            color: $white;
            border-radius: 2px;
            border-color: $landing-app-color;
            background-color: $landing-app-color;
            transition: all 0.3s ease;

            button {
              color: $white !important;

              &::after {
                color: $white;
                transform: rotate(180deg);
              }

              .la-user-tie {
                color: $white;
              }
            }
          }
        }

        .bottom-radius-0 {
          border-bottom-left-radius: 0 !important;
          border-bottom-right-radius: 0 !important;
        }
      }
    }
  }

  .calendar-form-wrapper {
    .custom-margin-top {
      padding: 0 45px 45px 45px;
      margin: -10rem auto 0 auto;
      border-bottom-left-radius: 0.2rem;
      border-bottom-right-radius: 0.2rem;
    }

    .calendar-form-container {
      .calendarTimeSlot {
        overflow: hidden;
        transition: all 0.3s ease-in-out;

        .fc-unthemed {
          padding: 0 1px 1px 1px;
        }

        .fc-header-toolbar {
          margin-bottom: 15px;

          h2 {
            font-size: 16px;
          }

          .fc-button-primary {
            border: 0;
            padding: 0 !important;
            color: $landing-app-color;
            background-color: transparent;

            .fc-icon {
              margin-top: 0;
              font-size: initial !important;
            }
          }
        }

        .fc-view-container {
          table {
            thead {
              border: none;

              tr {
                th {
                  padding: 10px 0;
                  background: $landing-app-color;
                  border: 1px solid $white;

                  &:first-child {
                    border-top-left-radius: $default-radius;
                    border-bottom-left-radius: $default-radius;
                  }

                  &:last-child {
                    border-top-right-radius: $default-radius;
                    border-bottom-right-radius: $default-radius;
                  }

                  span {
                    color: $white;
                  }
                }

                td {
                  border: 0;

                  .fc-row {
                    border: none;
                  }
                }
              }
            }

            tbody {
              .fc-bg {
                bottom: auto !important;
              }

              tr {
                td {
                  border-color: transparent;

                  .fc-day-number {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    padding: 10px 0;
                    text-align: center;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid transparent;
                    border-radius: $default-radius;

                    @media (min-width: 576px) {
                      &:hover {
                        border-color: $landing-app-color;
                        cursor: pointer;
                      }
                    }
                  }
                }
              }

              .fc-scroller {
                margin-top: 10px;
                height: initial !important;
                overflow: visible !important;
              }

              .fc-day-grid {
                .fc-row {
                  height: 0 !important;
                  min-height: 3rem;
                }
              }
            }
          }
        }

        .selectedTime {
          background: $landing-app-color;
          color: $white;
        }

        .time-slot-container {
          overflow-y: auto;

          .single-slot {
            display: block;
            padding: 10px 0;
            text-align: center;
            margin-bottom: 12px;
            color: $landing-app-color;
            border-radius: $default-radius;
            transition: all 0.3s ease-in-out;
            border: 1px solid $landing-app-color;

            @media (min-width: 576px) {
              &:hover {
                color: $white;
                background-color: $landing-app-color;
              }
            }
          }
        }
      }

      .service-img-container {
        border-bottom-left-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
      }
    }

    form {
      .service-information-wrapper {
        .service-title {
          h4 {
            font-size: 20px;
            font-weight: 300;
          }
        }

        .badge {
          font-size: 90%;
          font-weight: normal;
          border-radius: 1rem;
          padding: 0.35em 0.8em;
          background-color: #f0f2f4;
        }

        .badge-no-slot {
          background-color: #ffebe6;
        }

        input {
          background-image: none;

          &:focus {
            border-color: $landing-app-color !important;
          }
        }
      }
    }

    .btn-continue {
      @media (min-width: 576px) {
        margin-top: 40px;
      }
    }
  }

  .service-list-area {
    padding: 10rem 0;

    @media (max-width: 575px) {
      padding: 4rem 0;
    }

    .card {
      margin-bottom: 30px;
      border: 0 !important;
      border-radius: 0.3rem;
      transition: all 0.3s ease;
      box-shadow: 0 0 25px 5px rgba(0, 0, 0, 0.1);

      img {
        border-top-left-radius: 0.3rem;
        border-top-right-radius: 0.3rem;
      }

      .height-11-rem {
        height: 11rem;
      }

      .height-16-rem {
        height: 12rem;
      }

      .card-body {
        padding: 1.5rem;

        .card-title {
          font-size: 20px;
          font-weight: 300;
        }

        .media {
          line-height: 1.4 !important;

          &:last-child {
            margin-bottom: 0;
          }

          i {
            padding: 5px;
            font-size: 1.7em;
            color: #44A0FF;
            border-radius: 50%;
            background-color: rgba(230, 242, 255, 0.5);
          }

          .media-body {
            .service-info-heading {
              font-size: 11px;
              font-weight: 300;
              margin-bottom: 0;
            }

            .service-info-value {
              font-size: 14px;
              font-weight: normal;
            }
          }
        }
      }

      .card-footer {
        border: 0;
        padding: 1.5rem;
        background-color: transparent;
      }
    }
  }
}

@media (min-width: 768px) {
  .service-book-area {
    .service-list-area {
      background-color: #FAFBFE;

      .card {
        @media (min-width: 576px) {
          &:hover {
            cursor: default;
          }
        }
      }
    }
  }
}

// Selectpage Plugin CSS
.v-selectpage {
  font-family: 'Poppins', sans-serif !important;
}

.sp-header {
  display: none !important;
}

.sp-input-container {
  .sp-input {
    &::before {
      content: '\f06b';
      font-size: 20px;
      font-weight: 700;
      padding-right: 0.7rem;
      display: inline-block;
      color: $landing-app-color;
      font-family: 'Line Awesome Free';
    }
    span {
      top: 6px;
      position: absolute;
    }
  }

  .sp-caret {
    color: $landing-app-color;
  }
}

.sp-clear {
  display: none !important;
}

.sp-open {
  .sp-input {
    &::before {
      color: $white !important;
    }
    color: $white !important;
    border-color: $landing-app-color !important;
    background-color: $landing-app-color !important;
  }

  .sp-placeholder {
    color: $white !important;
  }

  .sp-caret {
    color: $white !important;
  }
}

.sp-search {
  padding: 0.8rem 1.15rem !important;
}

.sp-results {
  li {
    white-space: initial !important;
    padding: 0.8rem 1.15rem !important;
    transition: all 0.3s ease-in-out;
  }

  .sp-selected {
    color: $landing-app-color !important;
    border-left: 3px solid $landing-app-color;
  }
}

/* Landing Footer Section */
.footer-section {
  form {
    label {
      font-size: 14px;
      font-weight: 300;
    }

    .form-control {
      &:focus {
        border-color: $landing-app-color !important;
      }
    }
  }

  .footer-top-section {
    background-color: $white;
    padding: 10rem 0;

    @media (max-width: 575px) {
      padding: 4rem 0;
    }

    .alert {
      background-color: #E6F2FF;
    }

    .widget-wrapper {
      margin-top: 30px;

      .widget-icon-wrapper {
        i {
          color: $white;
          padding: 10px;
          border-radius: 50%;
          margin-bottom: 10px;
          background-color: $landing-app-color;
        }
      }

      h5 {
        font-size: 17px;
        font-weight: 500;
        color: $app-color;
      }

      p {
        color: $app-color;
        font-size: 14px;
        font-weight: 300;
        opacity: 0.8;
      }
    }
  }

  .footer-bottom-section {
    padding: 40px 0;
    background-color: $app-color;

    .footer-nav-menu {
      .nav-link {
        color: $landing-app-color;
        padding: 5px 10px !important;
      }
    }

    .footer-nav-social {
      .service-policy {
        transition: all 0.3s ease-in-out;

        @media (min-width: 576px) {
          &:hover {
            color: $landing-app-color;
          }
        }

        .service-policy-link {
          padding-right: 20px;
          border-right: 1px solid $white;
        }
      }

      .nav-link {
        color: $white;
        padding: 5px 10px !important;
      }

      .social-link {
        width: 35px;
        height: 35px;
        line-height: 27px;
        border-radius: 50%;
        padding: 5px 11px !important;
        transition: all 0.3s ease-in-out;
        @media (min-width: 576px) {
          &:hover {
            color: $white;
            background-color: $landing-app-color;
          }
        }
      }
    }

    .copyright-text {
      opacity: 0.6;
      padding: 0 10px;
      font-size: 14px;
      font-weight: 300;
      @media (max-width: 767px) {
        text-align: center;
      }
    }
  }
}

// disable date class
.fc-other-month {
  cursor: no-drop;
  pointer-events: none;

  span {
    cursor: no-drop;
    pointer-events: none;
  }
}

// disabled sloat
.disabled-nav {
  color: #9E9E9E !important;
  cursor: default;
  pointer-events: none;
  background: #f3f3f3;
  border: none !important;
}
