/* ============================================================
   栓Q网络验证系统 · 后台首页（仪表盘）优化 V7.5.11
   只作用于 .dashboard-editor-container 内的卡片与图表容器，
   不改动任何数据、图表配置或事件。
   ============================================================ */

.dashboard-editor-container {
    padding: 20px;
    background: #f0f2f5;
    box-sizing: border-box;
}

/* ---------- 顶部四个统计卡片 ---------- */
.dashboard-editor-container .panel-group {
    margin-bottom: 20px !important;
}

.dashboard-editor-container .card-panel-col {
    margin-bottom: 16px;
}

.dashboard-editor-container .card-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    height: auto !important;
    min-height: 108px;
    padding: 20px 24px 20px 28px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, .06);
    transition: transform .25s, box-shadow .25s;
    overflow: hidden;
    box-sizing: border-box;
}

/* 左侧彩色竖条 */
.dashboard-editor-container .card-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3a8ee6;
}

.dashboard-editor-container .card-panel-col:nth-child(1) .card-panel::before {
    background: #3a8ee6;
}

.dashboard-editor-container .card-panel-col:nth-child(2) .card-panel::before {
    background: #67c23a;
}

.dashboard-editor-container .card-panel-col:nth-child(3) .card-panel::before {
    background: #e6a23c;
}

.dashboard-editor-container .card-panel-col:nth-child(4) .card-panel::before {
    background: #9b7cf0;
}

.dashboard-editor-container .card-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 21, 41, .10);
}

/* 覆盖模板里写死的 float / margin / padding，避免内容被挤到下方 */
.dashboard-editor-container .card-panel-description {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    box-sizing: border-box;
    font-weight: 400;
}

.dashboard-editor-container .card-panel-text {
    font-size: 13px !important;
    color: #909399 !important;
    margin-bottom: 12px;
    letter-spacing: .5px;
    line-height: 18px;
    font-weight: 400 !important;
}

.dashboard-editor-container .card-panel-num {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #303133 !important;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 下方表格 / 饼图容器 ---------- */
.dashboard-editor-container .chart-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, .06);
    box-sizing: border-box;
    height: 100%;
}

.dashboard-editor-container .chart-wrapper .el-table {
    border-radius: 8px;
}

.dashboard-editor-container .chart-wrapper .el-table th {
    background: #fafbfc !important;
}

/* ---------- 页脚 ---------- */
.el-footer {
    background: #fff;
    border-top: 1px solid #ebeef5;
    color: #909399;
    font-size: 12px;
    line-height: 1.9;
    padding: 10px 0;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
