 
        /* APR Results */
        .apr-results {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .result-card {
            background: #f0f4f8;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            border: 1px solid var(--border-color);
            text-align: center;
        }
        
        .result-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary-color);
            margin: 0.5rem 0;
        }
        
        .result-label {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        .chart-container {
            height: 300px;
            margin: 2rem 0;
            position: relative;
        }
        
        .comparison-chart {
            height: 400px;
            margin: 2rem 0;
        }
        
        /* Toggle Switch */
        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        /* Results Table */
        .results-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .results-table th {
            background-color: var(--light-gray);
            padding: 0.75rem;
            text-align: left;
            border-bottom: 2px solid var(--border-color);
        }
        
        .results-table td {
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .results-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        /* Scenario Cards */
        .scenario-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .scenario-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .scenario-title {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
      
        /* Financial Indicators */
        .indicator {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        
        .indicator-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            margin-right: 0.75rem;
        }
        
        .indicator-label {
            font-size: 0.9rem;
        }
        
        /* Range Slider */
        .form-range::-webkit-slider-thumb {
            background: var(--primary-color);
        }
        
        .form-range::-moz-range-thumb {
            background: var(--primary-color);
        }
        
        .form-range::-ms-thumb {
            background: var(--primary-color);
        }
        
        /* Summary Card */
        .summary-card {
            background: linear-gradient(135deg, rgba(44, 125, 160, 0.1) 0%, rgba(169, 214, 229, 0.1) 100%);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid var(--border-color);
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px dashed var(--border-color);
        }
        
        .summary-item:last-child {
            border-bottom: none;
        }
        
        .summary-label {
            font-weight: 500;
        }
        
        .summary-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        /* APR Specific Styles */
        .apr-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .summary-box {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            border: 1px solid var(--border-color);
        }
        
        .summary-box .result-value {
            font-size: 1.5rem;
        }
        
        .cost-breakdown-chart {
            height: 350px;
            margin: 2rem 0;
        }
        
        .apr-comparison {
            background-color: rgba(169, 214, 229, 0.1);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 3px solid var(--primary-color);
        }
        
        .form-range-value {
            display: inline-block;
            min-width: 50px;
            text-align: right;
        }
        
        .tabs-container {
            margin-bottom: 2rem;
        }
        
        /* Highlight effect */
        .highlight {
            animation: highlight 1.5s ease;
        }
        
        @keyframes highlight {
            0% { background-color: rgba(169, 214, 229, 0.3); }
            100% { background-color: transparent; }
        }
        
        /* Loan Types */
        .loan-type-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .loan-type-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        
        .loan-type-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }
        
        .loan-type-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: rgba(44, 125, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 1.5rem;
            color: var(--primary-color);
        }
        
        .loan-type-title {
            font-weight: 600;
            text-align: center;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .loan-type-desc {
            color: var(--text-muted);
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .loan-type-features {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .loan-type-features li {
            padding: 0.5rem 0;
            border-bottom: 1px dashed var(--border-color);
            display: flex;
            align-items: center;
        }
        
        .loan-type-features li:last-child {
            border-bottom: none;
        }
        
        .loan-type-features li i {
            color: var(--primary-color);
            margin-right: 0.75rem;
        }
    