.payment-card {
            background-color: white;
            border-radius: 16px;
            padding: 1.2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            margin-bottom: 1rem;
            transition: 0.2s;
            border: 1px solid #eef2f6;
        }
        .comparison-grid {
            display: flex;
            gap: 1.2rem;
            flex-wrap: wrap;
        }
        .comparison-item {
            flex: 1;
            background: #f8fafc;
            border-radius: 20px;
            padding: 1rem;
            text-align: center;
        }
        .interest-badge {
            background-color: #e9ecef;
            border-radius: 40px;
            padding: 0.2rem 0.8rem;
            font-size: 0.8rem;
        }
        .loan-balance-chart, .pie-chart-container {
            background: #ffffff;
            border-radius: 20px;
            padding: 0.8rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
            margin-top: 1rem;
        }
        canvas {
            width: 100%;
            height: auto;
            background: #fefefe;
            border-radius: 12px;
        }
        .legend-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
        }
        .rate-note {
            background: #fef5e7;
            border-left: 3px solid #f1c40f;
        }
        .tool-header h1 {
            font-size: 2rem;
        }
        @media (max-width: 768px) {
            .comparison-grid { flex-direction: column; }
        }