@import 'admin-booking/main_dependencies';
@import 'core/_stylesheets/_bb_firefox.scss';

.bb-admin-move-booking {
  .admin-booking__autofocus {
    &:focus {
      outline: none !important;
      border: none !important;
      box-shadow: none !important;
    }
  }

  .btn.btn-default {
    color: #333333;
    border-color: rgb(204, 204, 204);
  }

  // General border radius for admin booking.
  .form-control {
    border-radius: $border-radius-base !important;
  }

  // For input fields with button eliminate ugly radius.
  .input-group input.form-control {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }

  // Hide the language picker on quick_pick modal when on admin interface.
  [bb-language-picker] {
    display: none;
  }

  .alerts {
    padding: 19px 19px 0;
  }

  .modal-header {
    padding: 19px;
    height: 60px;

    h3, button {
      font-size: 18px;
      line-height: 23px;
      height: 23px;
      color: #333333;
      font-weight: 600;
    }

    button.close {
      margin-top: 0;

      width: 18px;
      height: 23px;

      img {
        width: 18px;
        margin-top: -3px;
        height: 18px;
      }
    }
  }

  .modal-body {
    padding: 0;
  }

  .select-wrapper {
    position: relative;

    select {
      cursor: pointer;
      padding-right: 37px;
    }

    select.form-control {
      padding-right: 37px;
    }

    &:after {
      pointer-events: none;
      position: absolute;
      transform: translateY(-50%);
      top: 50%;
      right: 15px;
      color: $bb-font-color;
      font-weight: bold;
      font-family: "FontAwesome", sans-serif;
      content: "\f107";
    }
  }

  footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #e8eaf0;
    height: 65px;
    background-color: #fafafa;
    padding-right: 19px;

    button {
      margin-left: 10px;
      height: 36px;
      border-radius: 2px;
      border: solid 1px #235d9a;
    }

    button.btn-default {
      width: 100px;
    }

    button.btn-primary {
      width: 120px;
    }
  }

  select.form-control {
    height: 39px;
    padding-right: 25px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
  }

  select::-ms-expand {
    display: none;
  }
}
