:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --finance-color: #2a9d8f;
            --invest-color: #e9c46a;
            --operating-color: #e76f51;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --export-color: #6f42c1;
        }
    .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 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);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.15);
        }
        .btn-export {
            background-color: var(--export-color);
            border-color: var(--export-color);
            color: white;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            transition: all 0.3s;
        }
.data-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}.data-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}
        .btn-export:hover {
            background-color: #5a32a3;
            border-color: #5a32a3;
            color: white;
            transform: translateY(-1px);
        }
        .finance-result {
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.1rem;
            margin: 10px 0;
        }
     
        .finance-box {
            background-color: rgba(42, 157, 143, 0.05);
            border-left: 3px solid var(--finance-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
   
        .cashflow-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .cashflow-table th, .cashflow-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .cashflow-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .cashflow-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .cashflow-total {
            font-weight: 700;
            background-color: rgba(42, 157, 143, 0.1) !important;
        }
        .cashflow-subtotal {
            font-weight: 600;
        }
        .financial-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .highlight-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .highlight-value {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .positive {
            color: var(--success-color);
        }
        .negative {
            color: #dc3545;
        }
        .nav-tabs {
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        .nav-tabs .nav-tabs .data-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 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(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        .indicator {
            display: flex;
            align-items: center;
            margin: 1rem 0;
            padding: 1rem;
            background-color: rgba(255,255,255,0.8);
            border-radius: 6px;
            border: 1px solid var(--border-color);
        }
        .indicator-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(44, 125, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--primary-color);
        }
        .graph-legend {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 1rem;
        }
        .legend-item {
            display: flex;
            align-items: center;
        }
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            margin-right: 0.5rem;
        }
        .operating-color {
            background-color: rgba(231, 111, 81, 0.8);
        }
        .investing-color {
            background-color: rgba(233, 196, 106, 0.8);
        }
        .financing-color {
            background-color: rgba(42, 157, 143, 0.8);
        }
        .ratio-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .ratio-item {
            background: white;
            border-radius: 6px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            text-align: center;
        }
        .ratio-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .ratio-label {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .period-selector {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .period-btn {
            padding: 0.5rem 1.5rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: white;
            color: var(--text-color);
            transition: all 0.3s;
        }
        .period-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        .period-btn:hover:not(.active) {
            background-color: var(--light-gray);
        }
        .export-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }
        .export-modal-content {
            background-color: white;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }
        .export-options {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .export-option {
            display: flex;
            align-items: center;
            padding: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .export-option:hover {
            background-color: var(--light-gray);
            border-color: var(--primary-color);
        }
        .export-option.selected {
            background-color: rgba(44, 125, 160, 0.1);
            border-color: var(--primary-color);
        }
        .export-option-icon {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            background-color: rgba(44, 125, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--primary-color);
        }
        .export-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 2rem;
        }
        .company-info-form {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        .pdf-generating {
            display: none;
            text-align: center;
            padding: 2rem;
        }
        .pdf-generating-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid var(--light-gray);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .export-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        @media print {
            .navbar, .page-header, .footer, .action-buttons,
            .export-buttons, .chart-container, .no-print {
                display: none !important;
            }
            .tool-card, .cashflow-table {
                width: 100%;
                border-collapse: collapse;
            }
            .cashflow-table th, .cashflow-table td {
                border: 1px solid #000;
                padding: 8px;
            }
        }
                    @media print {
                        body * {
                            visibility: hidden;
                        }
                        .print-section, .print-section * {
                            visibility: visible;
                        }
                        .print-section {
                            position: absolute;
                            left: 0;
                            top: 0;
                            width: 100%;
                        }
                        .no-print { display: none !important; }
                    }
                    .print-section {
                        font-family: Arial, sans-serif;
                        padding: 20px;
                    }
                    .print-header {
                        text-align: center;
                        margin-bottom: 30px;
                        border-bottom: 2px solid #333;
                        padding-bottom: 15px;
                    }
                    .print-table {
                        width: 100%;
                        border-collapse: collapse;
                        margin: 20px 0;
                    }
                    .print-table th, .print-table td {
                        border: 1px solid #333;
                        padding: 8px;
                        text-align: left;
                    }
                    .print-table th {
                        background-color: #f2f2f2;
                        font-weight: bold;
                    }
                    .print-highlights {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        gap: 15px;
                        margin: 25px 0;
                    }
                    .print-highlight {
                        border: 1px solid #ddd;
                        padding: 15px;
                        border-radius: 5px;
                    }
                    .print-footer {
                        margin-top: 40px;
                        text-align: center;
                        font-size: 12px;
                        color: #666;
                        border-top: 1px solid #ddd;
                        padding-top: 15px;
                    }