/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:global {
  .searchItem {
    display: flex;
    align-items: center;
  }

  .searchInput {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    background-color: transparent;
    border: 0;
    height: 20px;
    width: 300px;
    outline: none;
  }

  .searchInput::placeholder {
    color: var(--color--neutral--200);
  }

  .searchTable {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .searchTableRow {
    display: flex;
    align-items: center;
    width: 336px;
    height: 32px;
    border-radius: var(--dremio--radius--1);
    background-color: var(--fill--primary);
    border-color: var(--border--neutral--solid);
    border-width: 1px;
    border-style: solid;

    &:hover {
      border-color: var(--border--hover);
    }

    &.--focused {
      border-color: var(--border--focused);
    }
  }

  .searchTableCol1 {
    display: table-cell;
    vertical-align: middle;
  }
}

.searchIcon {
  height: 24px;
  width: 24px;
  color: var(--icon--primary);
  margin-inline: var(--dremio--spacing--05);
}
