.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;
  }
}

.toplevel_page_epoi {
  a {
    text-decoration: none;
  }
}

#wpbody-content {
  th.sortable a {
    padding: 0;
  }
}

#epoi-the-list {
  td {
    vertical-align: top;
  }
}

.vi-ui.action.input {
  .button {
    display: inline-block;
  }

  .epoi-edit-apply, .epoi-edit-cancel {
    display: none;
  }
}

.vi-ui.action.input.epoi-edit-action {
  width: 300px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(34, 36, 38, .15);

  input {
    border: none !important;
    opacity: 0.85 !important;
  }

  .icon {
    font-size: 14px;
  }

  .epoi-point-value {
    flex-grow: 1;
    padding: 9px;
  }
}

.epoi-user-detail-wrap {
  .epoi-enable-edit {
    float: right;
    cursor: pointer;
  }

  .epoi-edit-form {
    position: absolute;
    background-color: white;
    border-radius: 5px;
    border: 1px solid rgba(34, 36, 38, .15);
    box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
    padding: 1em;
    right: 0;
    top: 44px;
  }
}

.vi-ui.form.epoi-edit-form {
  width: 300px;
  animation: editFormAppear 500ms;
  overflow: hidden;

  > * {
    margin: 10px 0 0 0 !important;
  }

  > input, > select, > textarea {
    display: block;
    width: 100%;
  }

  select {
    line-height: 1;
  }

  .vi-ui.right.labeled.input {
    select {
      width: auto;
      height: auto;
      text-align: center;
    }
  }
}

@keyframes editFormAppear {
  from {
    max-height: 0;
  }

  to {
    max-height: 240px;
  }
}

.epoi-bulk-edit-point-form {
  width: 300px;

  > * {
    display: block;
    width: 100%;
    margin-top: 10px !important;
  }
}
