/*bar外框*/

.barFrame {
    padding: 20px 30px 30px 30px;
    /*background-color: rgb(249, 249, 255);*/
    background-color: #f8f9fa;
    border-left: 3px rgba(126,99,74,0.5) solid;
    box-shadow: 0px 2px 4px rgb(0 0 0 / 15%);
    border-radius: 6px;
    height: 100%;
}


/* --- 卡片容器 --- */
.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 桌機4欄 */
    gap: 10px;
    padding: 10px;
    margin: auto;
}

/* --- 卡片樣式 --- */
.card {
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.label {
    font-size: 13px;
    color: #666;
}

.value {
    font-size: 26px;
    font-weight: 700;
    color: #444;
    margin-top: 5px;
}


/* --- RWD --- */
/* 平板：2欄 */
@media (max-width: 1024px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手機：2欄（維持方形排列） */
@media (max-width: 600px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}










