/**
 * Credit Bundle Checkout Breakdown Banner
 *
 * Renders inside the FunnelKit checkout order-summary section for users
 * with an active credit bundle. Visual goal: quiet, informational card —
 * not a CTA. Should feel like a receipt preview, not a sales widget.
 *
 * The .wfacp-section / wfacp-hg-by-box wrappers come from FunnelKit and
 * provide the outer panel. We only style the inner content.
 */

.cfe-bundle-breakdown__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cfe-bundle-breakdown__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.cfe-bundle-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.cfe-bundle-breakdown__label {
    color: #5b6168;
    flex: 0 0 auto;
}

.cfe-bundle-breakdown__value {
    color: #1f2937;
    font-weight: 500;
    text-align: right;
    flex: 1 1 auto;
}

.cfe-bundle-breakdown__row--shortfall .cfe-bundle-breakdown__value {
    color: #92400e;
}

.cfe-bundle-breakdown__row--remaining {
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.cfe-bundle-breakdown__savings {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* Drop the shortfall styling brightness on small screens — keeps the row
   readable when the order summary panel narrows. */
@media (max-width: 480px) {
    .cfe-bundle-breakdown__rows {
        font-size: 0.875rem;
    }
    .cfe-bundle-breakdown__row {
        gap: 8px;
    }
}
