:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --finance-color: #198754;
            --cost-color: #dc3545;
            --revenue-color: #0d6efd;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
        }
      .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);
        }
        .break-even-card {
            background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
            border: 1px solid rgba(25, 135, 84, 0.2);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .break-even-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--finance-color);
            margin-bottom: 0.5rem;
            text-align: center;
        }
        .break-even-label {
            color: var(--finance-color);
            font-weight: 600;
            text-align: center;
            margin-bottom: 0.5rem;
        }
        .break-even-subtext {
            color: var(--text-muted);
            text-align: center;
            font-size: 0.9rem;
        }
        .formula-box {
            background-color: rgba(25, 135, 84, 0.05);
            border-left: 3px solid var(--finance-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            }
        .cost-breakdown {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .cost-item {
            display: flex;
            justify-content: space-between;
            padding: 0.75rem;
            border-radius: 6px;
            background-color: white;
            border: 1px solid var(--border-color);
        }
        .cost-name {
            font-weight: 500;
        }
        .cost-value {
            font-weight: 600;
            color: var(--finance-color);
        }
        .cost-type-fixed {
            border-left: 4px solid var(--cost-color);
        }
        .cost-type-variable {
            border-left: 4px solid var(--warning-color);
        }
        .cost-type-total {
            border-left: 4px solid var(--finance-color);
            background-color: rgba(25, 135, 84, 0.05);
        }
        .profitability-indicator {
            display: flex;
            align-items: center;
            margin: 1rem 0;
            padding: 1rem;
            border-radius: 6px;
            background-color: white;
            border: 1px solid var(--border-color);
        }
        .indicator-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.2rem;
        }
        .indicator-icon.profit {
            background-color: rgba(25, 135, 84, 0.1);
            color: var(--finance-color);
        }
        .indicator-icon.loss {
            background-color: rgba(220, 53, 69, 0.1);
            color: var(--cost-color);
        }
        .indicator-content {
            flex-grow: 1;
        }
        .indicator-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .indicator-value {
            font-weight: 700;
            font-size: 1.2rem;
        }
        .scenario-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1rem;
        }
        .scenario-header {
            font-weight: 600;
            margin-bottom: 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: 4px;
            margin-right: 0.5rem;
        }
        .fixed-cost-color {
            background-color: rgba(220, 53, 69, 0.8);
        }
        .variable-cost-color {
            background-color: rgba(255, 193, 7, 0.8);
        }
        .total-cost-color {
            background-color: rgba(111, 66, 193, 0.8);
        }
        .revenue-color {
            background-color: rgba(13, 110, 253, 0.8);
        }
        .break-even-color {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 0.5rem;
            background-color: rgba(25, 135, 84, 0.8);
        }
        .margin-safety {
            background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
            border: 1px solid rgba(13, 110, 253, 0.2);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .safety-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--revenue-color);
            margin-bottom: 0.5rem;
            text-align: center;
        }
        .export-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        @media print {
            .navbar, .page-header, .action-btn, .footer, .ad-container,
            .related-tools, .tool-card .btn, .generating-indicator, .tool-card, }
        .profit-region {
            background-color: rgba(25, 135, 84, 0.1);
        }
        .save-status {
            font-size: 0.8rem;
            color: var(--success-color);
            margin-left: 0.5rem;
            display: none;
        }
        .chartjs-tooltip {
            background-color: rgba(0, 0, 0, 0.8) !important;
            border-radius: 4px !important;
            color: white !important;
            padding: 8px !important;
        }