/* Styles for table calculation display */

.cell-with-change {
    padding: 4px;
}

.current-value {
    font-size: 1rem;
    font-weight: 500;
    color: #212529;
    margin-bottom: 2px;
}

.change-info {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #f8f9fa; /* Light background to distinguish from table */
    margin-top: 4px;
}

.diff-value {
    margin-right: 8px;
}

.percent-value {
    font-size: 0.8rem;
}

/* Color coding for positive/negative values */
.text-success {
    color: #28a745 !important; /* Green for positive */
}

.text-error {
    color: #dc3545 !important; /* Red for negative */
}

.text-secondary {
    color: #6c757d !important; /* Gray for zero */
}

/* Alternative color scheme (if you prefer different shades) */
/*
.text-success {
    color: #0d7832 !important;
}

.text-error {
    color: #c92a2a !important;
}
*/

/* Responsive adjustments */
@media (max-width: 768px) {
    .change-info {
        font-size: 0.75rem;
    }
    .current-value {
        font-size: 0.9rem;
    }
}
