.wp-admin {
  ::-webkit-scrollbar {
    width: 8px;
    height: 14px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    margin-top: 2px;
    margin-bottom: 2px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #cecece;
    border-radius: 20px;
    cursor: pointer;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

.vi-ui.form {
  ::-webkit-datetime-edit {
    height: inherit;
  }

  input[type=time], input[type=datetime-local], input[type=date] {
    padding: .28857143em 1em;
  }
}

#wpbody {
  padding-right: 20px;
}

#wpbody-content {
  * {
    box-sizing: border-box;
  }

  .wp-editor-tabs {
    * {
      box-sizing: content-box;
    }
  }
}

.epoi-wrap {
  h3 {
    font-size: 1.1em;
    font-weight: bold;
  }
}

.form-table {
  > th {
    width: 240px;
    min-width: 240px;
    padding: 10px 10px 10px 0;
  }

  td {
    padding: 10px;
  }

  select {
    line-height: 1;
    max-width: 100%;
  }

  label {
    line-height: 2;
  }
}

.select2-container {

  textarea:not([rows]) {
    height: 20px !important;
    min-height: unset !important;
    line-height: 1;
  }

  &.select2-container--default {
    .select2-selection--multiple, .select2-dropdown {
      border: 1px solid #e5e5e5;
    }
  }

  .select2-search--inline {
    .select2-search__field {
      margin-top: 10px;
    }
  }
}

.epoi-select-rank-icon {
  max-width: 40px;
  //height: 40px;
}

.epoi-description {
  opacity: 0.7;
}

.epoi-rank-table {
  thead th:last-child, td:last-child {
    text-align: center !important;
    width: 1px !important;
  }

  td {
    position: relative;
  }

}

.epoi-icon-toolbar {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 0.785714em;
  transform: translateY(-50%);
  background: white;
  padding: 10px;
  opacity: .9;
  border-radius: 5px;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 25%);
  display: flex;
  gap: 10px;

  .icon {
    margin: 0;
    color: #777;

    &:hover {
      color: black;
    }
  }
}

.vi-ui.accordion {
  margin-bottom: 20px;
}
