@import 'admin-dashboard/main_dependencies';

.calendar-settings {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5em;

  .calendar-settings__left-side {

    display: flex;
    flex-direction: row;
    align-items: center;

    .calendar-loading-spinner {
      position: relative;
      width: 40px;
      height: 35px;
      margin-bottom: 0;
      margin-left: 5px;

      .loader-service-new {
        width: 40px;
        height: 40px;
      }

    }

    .calendar-settings__filter {
      max-width: 450px;
      display: flex;
      flex-direction: row;

      label {
        font-size: 14px;
      }

      .ui-select-container {
        background: #fff;
        border: 1px solid #d1d4dc;
        border-radius: 2px;
        box-shadow: none;
        padding: 0;

        input.ui-select-search {
          height: auto;
          padding: 8px 10px;
          margin-bottom: 0;
        }

        &.calendar-settings__group_filter {
          min-width: 300px;
          border: 0;
          margin-right: 2px;

          .btn {
            height: 35px;
          }
        }

        span.ui-select-match {
          position: relative;
          top: 1px;
          left: 6px;

          span.btn-primary {
            color: $white;
          }
        }
      }
    }
  }

  .calendar-settings__right-side {
    display: flex;
    flex-direction: row;
    align-items: center;

    [bbc-buttons] div {
      display: flex;
      flex-direction: row;
      align-items: center;

      button {
        height: 40px;

        &.btn-default {
          color: #484f5d;
        }

        &.btn-spaced {
          margin-left: 10px;
        }
      }
    }

    bb-new-booking {
      display: inline-block;

      .btn {
        height: 40px;
      }
    }
  }

  .calendar-settings__toggle {
    margin-left: 10px;
    display: inline-block;

    .toggle__button {
      font-size: 20px;
      padding: 5px 10px;
      color: #484f5d;
    }
  }

  .calendar-settings__dropdown {
    padding: 20px;
    min-width: 360px;
    width: auto;
    margin: 5px 0 0;
    border-radius: 0;

    &:active {
      box-shadow: none;
    }

    .ui-select-container {
      width: auto;
    }

    .form-group {
      display: block;
      margin-bottom: 15px;

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

    label {
      font-size: 13px;
      padding-bottom: 5px;
      display: block;
    }
  }
}
