* {
    box-sizing: border-box;
}

/* 滚动条背景 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.15);
    padding: 0;
    border: none;
    overflow-x: visible;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    border: none;
    width: 20px;
}

/*分页固定*/
.fixed-pagination {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
}

body {
    font-size: 14px
}

[text-sm] {
    font-size: 12px;
}

[text-success] {
    color: #67C23A;
}

[text-warning] {
    color: #E6A23C;
}

[text-danger] {
    color: #F56C6C;
}

[text-info] {
    color: #909399;
}

.el-pagination[center] {
    text-align: center;
    padding: 15px 0;
}

.edui-default .edui-colorpicker-nocolor {
    height: 20px !important;
}

/* 文字省略 */
.ellip-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
}

.ellip-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ellip-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.ellip-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/*文字加粗*/
.bold {
    font-weight: bold;
}

.bold2 {
    font-weight: 200;
}

.bold4 {
    font-weight: 400;
}

.bold5 {
    font-weight: 500;
}

.bold7 {
    font-weight: 700;
}

/*margin*/
.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-15 {
    margin-left: 15px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-right-15 {
    margin-right: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

/*垂直居中*/
.flex-align-items-center {
    display: flex;
    align-items: center;
}

/*必选标记-左边一个红色星号*/
._required::before {
    content: "*";
    margin-right: 5px;
    color: #ff0000;
    line-height: 20px;
}

/*调试悬浮框-固定在页面底部*/
._debug {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    font-family: monospace;
    padding: 10px;
    z-index: 9999;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

/* 空图片占位符 */
._empty-img {
    background-color: #EBEEF5;
    color: #CDD0D6;
    width: 120px;
    height: 120px;
    cursor: pointer;
    border: 1px solid var(--el-border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
._empty-img ._empty-img-text{
    color: #909399;
}

/* 搜索栏样式，内部子元素居右对齐，子元素间距10px，比 el-row 好用 */
._search-box{
    display: flex; justify-content: flex-end; gap: 10px; align-items: center;
}