// Login as User — Admin Styles
// Button styles for users list, user edit pages, order metaboxes and subscription detail

.arraysubs-login-as-user-msg {
  display: inline-block;
  padding: 4px 0;
  color: #666;
  font-size: 13px;
}

.arraysubs-login-as-user-btn {
  position: relative;
  z-index: 5;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: normal !important;

  .dashicons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    padding-top: 0;
    font-size: 16px;
    line-height: 1;
  }

  &--order-actions {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }

  &--disabled {
    cursor: not-allowed !important;
    opacity: 0.7;
  }
}

// Users list column width
.column-arraysubs_login_as_user {
  width: 180px;
}

// User profile heading button (injected by JS)
#arraysubs-login-as-user-heading-link {
  margin-left: 8px;
  vertical-align: middle;
}

.arraysubs-login-as-user-heading-link--disabled {
  cursor: not-allowed !important;
  opacity: 0.7;
}

.arraysubs-login-as-user-order-action {
  margin-bottom: 8px;
}
