/* ==========================================================
   PREMIUM HORIZONTAL KPI SUMMARY BAR
========================================================== */

/* Wrapper */
.ci-summary-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* horizontal layout */
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 18px;

    box-shadow:
        0 1px 3px rgba(0,0,0,0.05),
        0 4px 12px rgba(0,0,0,0.03);

    column-gap: 20px;
    align-items: center;
}

/* KPI block */
.ci-summary-item {
    text-align: center;
    padding: 6px 10px;
    position: relative;
}

/* Label styling */
.ci-summary-item .label {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.4px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* KPI value */
.ci-summary-item .value.big {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Vertical separators */
.ci-summary-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e5e5e5;
}

/* --------------------------------
   RESPONSIVE (Vertical stacking)
-------------------------------- */
@media (max-width: 900px) {

    .ci-summary-header {
        grid-template-columns: 1fr; /* stack vertically */
        padding: 20px 18px;
    }

    .ci-summary-item {
        text-align: left;
        padding: 12px 0;
    }

    .ci-summary-item:not(:last-child)::after {
        display: none; /* remove separators */
    }

    .ci-summary-item {
        border-bottom: 1px solid #eee;
        padding-bottom: 14px;
    }

    .ci-summary-item:last-child {
        border-bottom: none;
    }

    .ci-summary-item .value.big {
        font-size: 20px;
    }
}
