/* 修复搜索栏 Element UI 垂直对齐冲突 */
.common-search-table .el-form-item {
    margin-bottom: 15px !important;
    /* 强制统一底边距，抵消容器 padding-bottom: 0 的误差 */
    display: inline-flex;
    vertical-align: middle;
}

.common-search-table .el-form-item__label {
    margin-bottom: 0 !important;
    /* 强制取消 Bootstrap 给 label 带来的 5px 偏移 */
    line-height: 32px !important;
    /* 对应 size="small" 的标准高度 */
    font-weight: normal;
}

.common-search-table .el-form-item__content {
    line-height: 32px !important;
    vertical-align: middle;
}

/* --- 新增公共样式 --- */

/* 防止 Vue 模板闪烁 */
[v-cloak] {
    display: none !important;
}

/* 页面加载遮罩 */
#page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #409EFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 通用布局容器 */
.page-container {
    background-color: #f0f2f5;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* 列表卡片容器 */
.list-card {
    border: none;
    border-radius: 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-card .el-card__body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 分页容器 */
.pagination-container {
    padding: 15px;
    text-align: right;
    background: #fff;
    border-top: 1px solid #ebeef5;
}

/* 表格行悬浮效果 */
.table-row-hover:hover td {
    background-color: #f5f7fa !important;
}

/* 通用搜索栏外层 */
.search-table {
    background: #fff;
    padding: 15px 15px 0 15px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
}

.search-table .el-form-item__label {
    margin-bottom: 0 !important;
    /* 强制取消 Bootstrap 给 label 带来的 5px 偏移 */
    line-height: 32px !important;
    /* 对应 size="small" 的标准高度 */
    font-weight: normal;
}

.search-table .el-form-item__content {
    line-height: 32px !important;
    vertical-align: middle;
}

.czq button {
    padding: 5px 7px !important;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/* 禁用上传组件所有动画 */
.el-upload-list__item,
.el-upload-list__item-thumbnail,
.el-upload--picture-card,
.el-upload-list--picture-card .el-upload-list__item,
.el-upload-list--picture-card .el-upload-list__item-actions {
    transition: none !important;
    animation: none !important;
}