﻿/* 可选卡片标签 */
.fullScreenContainer {
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
}

    .fullScreenContainer h5 {
        margin: 0 0 20px 0;
        border-left: 4px solid #4096ff;
        padding-left: 12px;
    }

#fullCardList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

    #fullCardList .card-tag {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        margin: 4px;
        border-radius: 6px;
        font-size: 13px;
        cursor: grab;
        transition: all 0.2s ease;
        border: 1px solid #dcdfe6;
        background: #ffffff;
        color: #606266;
    }

        #fullCardList .card-tag.selected {
            background: #e6f4ff;
            border-color: #409eff;
            color: #409eff;
            box-shadow: 0 2px 6px rgba(64,158,255,0.2);
        }

        #fullCardList .card-tag:hover {
            border-color: #409eff;
            color: #409eff;
            box-shadow: 0 2px 6px rgba(64,158,255,0.2);
        }

/* 九宫格格子通用 */
#grid9Box {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

    #grid9Box .grid-item {
        transition: all 0.2s ease;
        border-radius: 8px;
        background: #fafafa;
        border: 1px dashed #dcdfe6;
    }

        #grid9Box .grid-item:hover {
            transform: scale(1.01);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        #grid9Box .grid-item.has-card {
            background: #e6f4ff;
            border: 1px solid #409eff;
        }

        #grid9Box .grid-item.drag-over {
            border: 2px dashed #409eff !important;
            background: #e6f4ff !important;
            transform: scale(1.02);
        }

.grid-item {
    padding: 10px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
/* 九宫格内部布局 */
.grid-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.grid-item-empty-text {
    color: #909399;
    font-size: 14px;
}

.grid-item-card-text {
    color: #303133;
    font-size: 14px;
}

/* 删除按钮 */
.grid-del-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f56c6c;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(245,108,108,0.3);
}

    .grid-del-btn:hover {
        background: #f78989;
        transform: scale(1.1);
    }

/* 全屏轮播容器 */
#carouselFullScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    overflow: hidden;
}
/* 九宫格全屏布局容器 */
.carousel-grid-wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #eef5f9;
}

.carousel-grid-cell {
    position: absolute;
    box-sizing: border-box;
    padding: 4px;
}

    .carousel-grid-cell .cell-content {
        /*border: 1px solid #cccccc52;*/
        width: 100%;
        height: 100%;
        overflow: hidden;
        padding: 10px;
        border-radius: 8px;
        background-color: #ffffff;
    }

    .carousel-grid-cell .empty-tip {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
    }




/* 报表卡片容器 */
.report-card-wrap {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.report-card-title {
    text-align: center;
    margin: 0;
    padding: 3px 0;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-card-grid {
    flex: 1;
    overflow: hidden;
}

/* 图表容器 */
.chart-card-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .chart-card-wrap iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* 空卡片提示 */
.card-empty-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}
/* --- 新增：单卡片模式样式优化 --- */
/* 单卡片报表容器 */
.report-card-wrap--single {
    padding: 20px;
}

/* 单卡片报表标题放大 */
.report-card-title--single {
    font-size: 24px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #ebeef5;
}






/* 全屏轮播容器基础样式 */
#carouselFullScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #eef5f9;
    z-index: 999999;
    overflow: hidden;
}

.carousel-grid-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-grid-cell {
    position: absolute;
    box-sizing: border-box;
    padding: 8px;
}

    .carousel-grid-cell .cell-content {
        width: 100%;
        height: 100%;
        padding: 12px;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
    }

    .carousel-grid-cell .empty-tip {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
    }

/* 单卡片全屏样式美化 */
.carousel-single-wrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-single-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    background-color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
}


.roll-card-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    font-size: 12px;
}

.roll-head {
    flex: 0 0 auto;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    position: relative;
    background: #fafafa;
}

.roll-head-inner {
    width: auto;
    display: inline-block;
}

.roll-body {
    flex: 1;
    overflow: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.roll-table {
    width: auto;
    border-collapse: collapse;
    table-layout: fixed;
}

    .roll-table th,
    .roll-table td {
        padding: 6px 8px;
        text-align: center;
        white-space: nowrap;
        min-width: 80px;
    }

    .roll-table th {
        background: #fafafa;
        font-weight: 600;
        color: #333;
    }

    .roll-table td {
        color: #666;
        border: 1px solid #eee;
    }
