.button-wrapper {
  margin-right: 12px;

  .edit-button {
    cursor: pointer;

    padding: 0 30px;

    font-size: var(--default-font-size);
    line-height: 24px;
    color: var(--color-href);

    opacity: 1;
    background-color: var(--color-gray-fff);
    border: 1px solid var(--color-href);
    border-radius: 5px;
    outline: transparent 0 none;

    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.8;
    }
  }
}

.owner-select {
  width: 200px;
}

.dashboard-content {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;

  width: 100%;
  height: 100%;

  .plug-wrapper {
    position: absolute;
    top: 45%;
    transform: translate(0, -50%);

    display: flex;
    flex-flow: column nowrap;
    align-items: center;

    .header {
      font-size: 20px;
    }

    .text {
      font-size: 14px;
    }
  }
}

.search-field {
  position: relative;

  display: flex;
  flex-flow: row nowrap;
  align-items: center;

  width: 220px;
  height: 38.5px;
  padding: 3px 6px;

  border: 1px solid var(--color-gray-eee);
  border-radius: 3px;

  .search-icon {
    margin-top: 3px;
  }

  .clear-icon {
    cursor: pointer;
    margin-top: 3px;
    opacity: 1;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.8;
    }
  }

  .search-input {
    width: 175px;
    background: inherit;
    border: none transparent;
    outline: none;

    &:focus {
      border: none transparent;
      outline: none;
    }
  }
}

.dashboards-wrapper {
  display: flex;
  flex-flow: column nowrap;
  max-height: calc(100% - 48px);

  h1 {
    margin: 12px 0;
    font-family: var(--wiki-default-header-font-family);
    line-height: 1em;
    color: var(--wiki-font-h1-color);
  }

  .row {
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;

    margin-right: 40px;
  }

  .w400 {
    min-width: 400px;
  }
}

.create-dashboard-button {
  cursor: pointer;

  color: var(--app-bg-color-l1);

  opacity: 1;
  background-color: var(--accent-color-bg);

  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.8;
  }
}

.rows-list {
  overflow-y: auto;
  display: flex;
  flex: 1 1 auto;
  flex-flow: column nowrap;
}

.grid-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr 1fr 40px;
  padding-right: 40px;

  &.grid-header {
    margin-top: 12px;
    margin-right: 40px;
    padding-right: 0;

    font-weight: 600;
    color: var(--color-gray-888);

    border-bottom: 2px solid var(--color-gray-eee);
  }

  .item {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;

    a.item-link:link,
    a.item-link:visited {
      color: var(--color-href);
    }

    &.icon {
      overflow: hidden;
      display: flex;
      align-items: center;

      width: 40px;
      height: 40px;
    }

    &.owner {
      flex-flow: row nowrap;
      gap: 16px;
      align-items: center;
      justify-content: flex-start;
    }
  }
}

.more-menu-wrap {
  display: flex;
  flex-flow: column nowrap;

  .more-menu-item,
  .more-menu-item:link,
  .more-menu-item:visited {
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 8px;

    line-height: 24px;
    color: var(--default-color);

    opacity: 1;

    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.8;
    }
  }
}

.plug {
  margin: 12px;
}

.field {
  display: flex;
  align-items: center;

  height: 34px;
  padding: 0 10px;

  color: var(--color-gray-666);

  background-color: var(--color-gray-eee);
}
