
        :root {
            --primary-color: #3a506b;
            --secondary-color: #1c2541;
            --accent-color: #5bc0be;
            --warning-color: #f9c74f;
            --danger-color: #f94144;
            --success-color: #4CAF50;
            --light-color: #f8f9fa;
            --medium-color: #e9ecef;
            --dark-color: #212529;
            --border-color: #dee2e6;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --border-radius: 10px;
            --transition: all 0.3s ease;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: var(--dark-color);
            line-height: 1.6;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }
        

        
        h1 {
            color: var(--secondary-color);
            margin-bottom: 10px;
            font-size: 2.2rem;
        }
        
        .subtitle {
            color: #6c757d;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .calculator-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        @media (max-width: 1100px) {
            .calculator-wrapper {
                grid-template-columns: 1fr;
            }
        }
        
        .panel {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 30px;
            transition: var(--transition);
        }
        
        .panel:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }
        
        h2 {
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--medium-color);
            display: flex;
            align-items: center;
        }
        
        h2 i {
            margin-right: 10px;
            color: var(--accent-color);
        }
        
        h3 {
            color: var(--secondary-color);
            margin: 25px 0 15px 0;
            font-size: 1.2rem;
        }
        
        .form-section {
            margin-bottom: 25px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--secondary-color);
        }
        
        .select-wrapper, .input-wrapper {
            position: relative;
        }
        
        select, input[type="text"], input[type="number"] {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid var(--border-color);
            border-radius: 6px;
            font-size: 16px;
            background-color: white;
            transition: var(--transition);
        }
        
        select:focus, input:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.2);
        }
        
        .state-info {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 10px;
            padding: 12px;
            background-color: rgba(91, 192, 190, 0.1);
            border-radius: 6px;
            font-size: 0.95rem;
        }
        
        .state-rate {
            font-weight: bold;
            color: var(--accent-color);
            background: white;
            padding: 4px 10px;
            border-radius: 4px;
            border: 1px solid var(--accent-color);
        }
        
        .checkbox-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
            margin-top: 10px;
        }
        
        .checkbox-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .checkbox-item:hover {
            border-color: var(--accent-color);
            background-color: rgba(91, 192, 190, 0.05);
        }
        
        .checkbox-item input {
            margin-right: 10px;
            transform: scale(1.2);
        }
        
        .slider-container {
            padding: 10px 0;
        }
        
        .slider-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .slider-value {
            font-weight: bold;
            color: var(--accent-color);
        }
        
        input[type="range"] {
            width: 100%;
            height: 8px;
            -webkit-appearance: none;
            background: linear-gradient(to right, #e0e0e0, var(--accent-color));
            border-radius: 4px;
            outline: none;
        }
        
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--secondary-color);
            cursor: pointer;
            border: 3px solid white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        .addon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        
        .addon-item {
            display: flex;
            flex-direction: column;
            padding: 15px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .addon-item:hover {
            border-color: var(--accent-color);
        }
        
        .addon-item.active {
            border-color: var(--accent-color);
            background-color: rgba(91, 192, 190, 0.08);
        }
        
        .addon-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .addon-name {
            font-weight: 600;
        }
        
        .addon-price {
            font-weight: bold;
            color: var(--accent-color);
        }
        
        .addon-desc {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 10px;
        }
        
        .addon-toggle {
            align-self: flex-start;
            position: relative;
            width: 50px;
            height: 24px;
        }
        
        .addon-toggle 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: 24px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: var(--accent-color);
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }
        
        .results-panel {
            position: sticky;
            top: 20px;
        }
        
        .cost-breakdown {
            margin-top: 20px;
        }
        
        .cost-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px dashed var(--border-color);
        }
        
        .cost-item:last-child {
            border-bottom: none;
        }
        
        .cost-label {
            display: flex;
            flex-direction: column;
        }
        
        .cost-detail {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .cost-value {
            font-weight: 600;
            text-align: right;
        }
        
        .cost-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 25px;
            padding-top: 25px;
            border-top: 3px double var(--border-color);
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--secondary-color);
        }
        
        .total-amount {
            font-size: 1.8rem;
            color: var(--accent-color);
        }
        
        .formula-box {
            background-color: rgba(91, 192, 190, 0.05);
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid var(--accent-color);
        }
        
        .formula {
            font-family: 'Courier New', monospace;
            font-size: 1rem;
            color: var(--secondary-color);
            text-align: center;
        }
        
        .alert-box {
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            background-color: #fff3cd;
            border-left: 4px solid var(--warning-color);
        }
        
        .alert-title {
            font-weight: bold;
            margin-bottom: 5px;
            color: #856404;
        }
        
        .state-law-tip {
            background-color: rgba(28, 37, 65, 0.05);
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid var(--secondary-color);
        }
        
        .state-law-title {
            font-weight: bold;
            margin-bottom: 8px;
            color: var(--secondary-color);
        }
        
        .disclaimer {
            margin-top: 30px;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: var(--border-radius);
            font-size: 0.9rem;
            color: #6c757d;
            border: 1px solid var(--border-color);
        }
        
        .data-source {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .complexity-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 10px;
        }
        
        .complexity-low {
            background-color: rgba(76, 175, 80, 0.2);
            color: #2e7d32;
        }
        
        .complexity-medium {
            background-color: rgba(249, 192, 79, 0.2);
            color: #f57c00;
        }
        
        .complexity-high {
            background-color: rgba(249, 65, 68, 0.2);
            color: #c62828;
        }
        
        .complexity-very-high {
            background-color: rgba(155, 39, 176, 0.2);
            color: #7b1fa2;
        }
        
        .progress-bar {
            height: 6px;
            background-color: var(--medium-color);
            border-radius: 3px;
            margin: 15px 0;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(to right, #4CAF50, var(--accent-color));
            border-radius: 3px;
            transition: width 0.5s ease;
        }
        
        @media (max-width: 768px) {
            .calculator-wrapper {
                gap: 20px;
            }
            
            .panel {
                padding: 20px;
            }
            
            .checkbox-grid, .addon-grid {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }
        
        .print-btn {
            display: block;
            width: 100%;
            padding: 14px;
            background-color: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 20px;
            text-align: center;
        }
        
        .print-btn:hover {
            background-color: var(--primary-color);
            transform: translateY(-2px);
        }
