.calculator-sticky {
    position: sticky;
    top: 12px;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .calculator-sticky {
        position: static;
        top: auto;
    }
}

.chart-box {
    min-height: 120px;
}

.donut-ring {
    stroke: rgba(15, 23, 42, 0.08);
}

.donut-segment {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.donut-segment-principal {
    stroke: rgba(76, 175, 80, 1);
}

.donut-segment-interest {
    stroke: rgba(23, 162, 184, 1);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.legend-dot-principal {
    background: rgba(76, 175, 80, 1);
}

.legend-dot-interest {
    background: rgba(23, 162, 184, 1);
}

.formula-box {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.rate-card {
    border-top: 3px solid rgba(76, 175, 80, 0.55);
}
