/* 重置边距和填充 */
* {
  margin: 0;
  padding: 0;
}

/* 去除列表的默认样式 */
ul,
ol {
  list-style-type: none;
}

/* 去除链接的默认样式 */
a {
  text-decoration: none;
  color: inherit;
}

/* 去除图片的边框 */
img {
  border: none;
}

/* 去除输入框的边框和轮廓 */
input,
textarea {
  border: none;
  outline: none;
}

/* 去除按钮的边框和轮廓 */
button {
  border: none;
  outline: none;
  background-color: transparent;
}

/* 去除所有元素的内边距和外边距 */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li,
figure,
figcaption,
blockquote,
dl,
dt,
dd {
  padding: 0;
  margin: 0;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

i {
  font-style: inherit;
}
/* 
* 文本超出省略号提示部分自动换行
*/
.tooltip {
  position: absolute;
  display: none;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  padding: 5px;
  white-space: normal; /* 允许换行 */
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 200px; /* 设置最大宽度 */
  word-wrap: break-word; /* 允许单词换行 */
}
