/* 定义字体 */
@font-face {
  font-family: 'OpenSans';
  src: url('/fonts/SourceHanSansCN-Normal.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. 统一字体和行高 */
body {
  font-family: 'OpenSans', Arial, sans-serif;
  line-height: 1.5;
  background: #f9f9f9;
}

/* 3. 移除列表样式 */
ul,
ol {
  list-style: none;
}

/* 4. 移除链接默认样式 */
a {
  text-decoration: none;
  color: inherit;
}

/* 5. 移除按钮默认样式 */
button {
  background: none;
  border: none;
  cursor: pointer;
}


/* 7. 表单元素重置 */
input,
textarea,
select {
  width: 100%;
}

/* 8. 移除表格默认间距 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.router-link-active {
  color: #2b52ff;
}

.el-input .el-input__inner:-webkit-autofill {
  -webkit-background-clip: text;
}

.el-input__wrapper {
  background-color: transparent !important;
}

.el-input,
.el-button {
  font-family: inherit !important;
}

.popover-nav {
  padding: 30px 25px !important;
  border-radius: 12px !important;
}

.order-dialog {
  padding: 0 !important;
  width: auto !important;
  border-radius: 20px !important;
}

.order-dialog .el-dialog__header {
  padding-bottom: 0 !important;
}

/* 排序 start */
.popper-class-sort-box {
  width: 160px;
  overflow: hidden;
  padding: 4px 0 !important;
  border-radius: 12px !important;
}

.popper-class-sort-box.create-studySociety {
  width: 140px;
}

.popper-class-sort-box .el-dropdown-menu__item {
  margin: 0 8px;
  border-radius: 6px;
  color: #666666;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  margin-top: 4px;
  justify-content: space-between;
  align-items: center;
}

.popper-class-sort-box .el-dropdown-menu__item:first-child {
  margin-top: 0;
}

.popper-class-sort-box .el-dropdown-menu__item:hover {
  background-color: #f8f8f8 !important;
  color: #666666 !important;
}

.popper-class-sort-box.create-studySociety .el-dropdown-menu__item:hover {
  background-color: #f8f8f8 !important;
  color: #2b52ff !important;
}

.popper-class-sort-box .el-dropdown-menu__item.active {
  font-weight: bold;
  color: #333333 !important;
}

/* 排序 end */

/* command start */
.popper-class-command {
  width: 100px;
  overflow: hidden;
  padding: 4px 0 !important;
  border-radius: 12px !important;
}

.popper-class-command .el-dropdown-menu__item {
  margin: 0 8px;
  border-radius: 6px;
  color: #666666;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  margin-top: 4px;
  justify-content: space-between;
}

.popper-class-command .el-dropdown-menu__item:first-child {
  margin-top: 0;
}

.popper-class-command .el-dropdown-menu__item:hover {
  background-color: #f8f8f8 !important;
  color: #666666 !important;
}

/* command end */

.el-tag.report-tag {
  color: #ffffff;
  font-size: 13px;
  padding: 13px 10px !important;
  border-radius: 8px;
  margin-right: 10px;
}

.el-tag.el-tag--primary {
  background-color: #2b52ff;
}

.el-tag.el-tag--warning {
  background-color: #ff9640;
}

.el-tag.el-tag--success {
  background-color: #5cd41c;
}


#__nuxt .el-checkbox__input.is-checked+.el-checkbox__label {
  color: unset;
}

.el-avatar img{
  background-color: #ffffff;
}