:root {
            --primary-color: #28a745;
            --secondary-color: #d4edda;
            --accent-color: #155724;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
            --avalanche-color: #dc3545;
            --snowball-color: #007bff;
            --consolidation-color: #28a745;
        }
       .page-header {
            background: linear-gradient(135deg, rgba(212, 237, 218, 0.4) 0%, rgba(40, 167, 69, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(40, 167, 69, 0.2);
            position: relative;
            overflow: hidden;    color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .btn-success {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        .debt-entry {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 1rem;
            border: 1px solid #eee;
            transition: all 0.3s;
        }
        .debt-entry:hover {
            border-color: var(--primary-color);
            background-color: rgba(40, 167, 69, 0.02);
        }
        .debt-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .debt-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            font-weight: 600;
            font-size: 0.9rem;
            margin-right: 0.75rem;
        }
        .remove-debt {
            color: var(--danger-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .remove-debt:hover {
            transform: scale(1.2);
        }
        .savings-badge {
            display: inline-block;
            padding: 0.35rem 0.75rem;
            background-color: var(--secondary-color);
            color: var(--accent-color);
            border-radius: 4px;
            font-weight: 600;
            margin-left: 0.5rem;
        }
        .warning-badge {
            display: inline-block;
            padding: 0.35rem 0.75rem;
            background-color: rgba(255, 193, 7, 0.2);
            color: #856404;
            border-radius: 4px;
            font-weight: 600;
            margin-left: 0.5rem;
        }
        .large-chart-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 1.5rem 0;
        }
        .warning-box {
            background-color: rgba(255, 193, 7, 0.05);
            border-left: 3px solid var(--warning-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .comparison-table th, .comparison-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .comparison-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .comparison-table tr:nth-child(even) {
            background-color: rgba(40, 167, 69, 0.05);
        }
        .consolidation-row {
            background-color: rgba(40, 167, 69, 0.1) !important;
            font-weight: 600;
        }
        .strategy-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .strategy-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        .strategy-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .strategy-card.avalanche {
            border-top: 4px solid var(--avalanche-color);
        }
        .strategy-card.snowball {
            border-top: 4px solid var(--snowball-color);
        }
        .strategy-card.consolidation {
            border-top: 4px solid var(--consolidation-color);
        }
        .strategy-title {
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        .strategy-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.75rem;
            color: white;
        }
        .strategy-icon.avalanche {
            background-color: var(--avalanche-color);
        }
        .strategy-icon.snowball {
            background-color: var(--snowball-color);
        }
        .strategy-icon.consolidation {
            background-color: var(--consolidation-color);
        }
        @media (max-width: 768px) {
            .large-chart-container {
                height: 300px;
            }
            .strategy-comparison {
                grid-template-columns: 1fr;
            }
        }
        .debt-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(40, 167, 69, 0.1);
            border: 1px solid rgba(40, 167, 69, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-btn:hover {
            background-color: rgba(40, 167, 69, 0.2);
            transform: translateY(-2px);
        }
        .financial-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .financial-item {
            background-color: white;
            border-radius: 6px;
            padding: 1rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        .financial-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .financial-label {
            color: var(--text-muted);
            font-size: 0.85rem;
        }
        .payment-timeline {
            margin: 1.5rem 0;
        }
        .timeline-item {
            display: flex;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .timeline-date {
            font-weight: 600;
            min-width: 100px;
            color: var(--primary-color);
        }
        .timeline-content {
            flex-grow: 1;
        }
        .loan-options {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .loan-option {
            flex: 1;
            min-width: 200px;
            background-color: white;
            border-radius: 8px;
            padding: 1.25rem;
            border: 2px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s;
        }
        .loan-option:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }
        .loan-option.selected {
            border-color: var(--primary-color);
            background-color: rgba(40, 167, 69, 0.05);
        }
        .loan-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        .loan-rate {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .progress-container {
            margin: 1.5rem 0;
        }
        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
        }
        .progress-bar {
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 5px;
        }
        .nav-tabs {
            border-bottom: 1px solid var(--border-color);
        }
        .nav-tabs .nav-tabs @media print {
            .no-print {
                display: none !important;
            }
            .page-header {
                background: none;
                padding: 0;
            }
        }
        .pdf-report-btn {
            background-color: #d32f2f;
            border-color: #d32f2f;
            color: white;
            font-weight: 600;
        }
        .pdf-report-btn:hover {
            background-color: #b71c1c;
            border-color: #b71c1c;
        }
        .strategy-visualization {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .strategy-step {
            flex: 1;
            min-width: 250px;
            background-color: white;
            border-radius: 8px;
            padding: 1.25rem;
            border: 1px solid var(--border-color);
        }
        .strategy-step-number {
            width: 32px;
            height: 32px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .loading-indicator {
            display: none;
            text-align: center;
            padding: 2rem;
        }
        .debt-priority-list {
            margin: 1.5rem 0;
        }
        .priority-item {
            display: flex;
            align-items: center;
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-color);
        }
        .priority-number {
            width: 28px;
            height: 28px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-weight: 600;
            font-size: 0.9rem;
        }
        .data-saved-notification {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background-color: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1050;
            display: none;
            animation: slideIn 0.3s ease-out;
        }
        @keyframes slideIn {
            from { transform: translateX(-100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        .chart-toolbar {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 1rem;
            gap: 0.5rem;
        }
        .chart-toolbar-btn {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 0.25rem 0.75rem;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .chart-toolbar-btn:hover {
            background-color: var(--light-gray);
        }
        .chart-toolbar-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }