:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --finance-color: #0d6efd;
            --inventory-color: #20c997;
            --profit-color: #198754;
        }
         .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);
        }
        .method-tabs {
            display: flex;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        .method-tab {
            padding: 0.75rem 1.5rem;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            color: var(--text-muted);
            transition: all 0.3s;
            cursor: pointer;
        }
        .method-tab:hover {
            color: var(--primary-color);
        }
        .method-tab.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        .result-card {
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .result-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        .result-label {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .result-subtext {
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .highlight-card {
            border-radius: 8px;
            padding: 1.25rem;
            color: white;
            margin-bottom: 1rem;
        }
        .highlight-card.cogs {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        }
        .highlight-card.gross-profit {
            background: linear-gradient(135deg, #198754 0%, #157347 100%);
        }
        .highlight-card.margin {
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
        }
        .highlight-card.revenue {
            background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
            color: #212529;
        }
        .highlight-value {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
        .highlight-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        .financial-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .financial-table th, .financial-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .financial-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .financial-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .financial-table .total-row {
            font-weight: 700;
            background-color: rgba(44, 125, 160, 0.1);
        }
        .progress-container {
            margin: 1.5rem 0;
        }
        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
        }
        .progress {
            height: 10px;
            border-radius: 5px;
            margin-bottom: 1rem;
        }
        .industry-comparison {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 4px solid var(--primary-color);
        }
        .finance-box {
            background-color: rgba(13, 110, 253, 0.05);
            border-left: 3px solid var(--finance-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .warning-box {
            background-color: rgba(255, 193, 7, 0.1);
            border-left: 3px solid var(--warning-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .method-tabs {
                flex-direction: column;
            }
            .method-tab {
                text-align: left;
                border-bottom: 1px solid var(--border-color);
                border-left: 3px solid transparent;
            }
            .method-tab.active {
                border-left-color: var(--primary-color);
                border-bottom-color: var(--border-color);
            }
        }
        .scenario-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .scenario-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;
        }
        .scenario-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        .toggle-container {
            display: flex;
            align-items: center;
            margin: 1rem 0;
        }
        .toggle-label {
            margin-right: 1rem;
            font-weight: 600;
        }
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .toggle-slider {
            background-color: var(--primary-color);
        }
        input:checked + .toggle-slider:before {
            transform: translateX(30px);
        }