        .form-group h3 {
            margin-top: 0px;
            margin-bottom: 8px;
        }
        body {
            font-family: Arial, sans-serif;
            background-color: #404040;
            color: #333;
            line-height: 1.0;
            padding: 70px 20px 20px;
            margin: 0;
        }
        .calculator-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        .calculator, .results {
            background-color: #D3D3D3;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            width: 100%;
            box-sizing: border-box;
        }
        h1 {
            text-align: center;
            margin: 0 0 15px;
            color: whitesmoke;
            font-size: 1.5rem;
        }
        .form-group {
            margin-bottom: 10px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            font-size: 14px;
        }
        select, input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 14px;
        }
        .radio-group {
            display: flex;
            gap: 15px;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }
        .radio-option {
            display: flex;
            align-items: center;
            gap: 2px;
            padding: 8px 12px;
            border-radius: 6px;
            border: 2px solid #002B5B;
            background-color: #e6f0ff;
            transition: all 0.3s;
            cursor: pointer;
        }
        .radio-option.selected {
            border-color: #002B5B;
            background-color: #002B5B;
            color: white;
        }
        .radio-option.selected span {
            color: white;
        }
        .radio-option input {
            width: auto;
            margin-right: 5px;
            cursor: pointer;
        }
        .row {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .checkbox-container {
            display: flex;
            justify-content: flex-start;
            margin: 15px 0;
            gap: 20px;
            flex-wrap: wrap;
        }
        .checkbox-option {
            display: flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
        }
        .checkbox-option label {
            margin-bottom: 0;
            font-weight: normal;
        }
        .checkbox-option input[type="checkbox"] {
            width: 16px;
            height: 16px;
            margin: 0;
            cursor: pointer;
        }
        .datalist-input {
            width: 100%;
        }
        .result-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            font-size: 14px;
        }
        .result-table th, .result-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        .result-table th {
            background-color: #f2f2f2;
        }
        .total-row {
            font-weight: bold;
            background-color: #e9f7ef;
        }
        .hidden {
            display: none;
        }
        /* Custom Datalist Styles */
        .datalist-input-container {
            position: relative;
            width: 100%;
        }
        .datalist-input:focus {
            border-color: #002B5B;
            outline: none;
            box-shadow: 0 0 0 2px rgba(0, 43, 91, 0.2);
        }
        .datalist-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            max-height: 250px;
            overflow-y: auto;
            width: 100%;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            z-index: 1000;
            margin-top: 2px;
        }
        .datalist-option {
            padding: 8px 12px;
            font-size: 13px;
            cursor: pointer;
            color: #333;
            border-bottom: 1px solid #f0f0f0;
        }
        .datalist-option:last-child {
            border-bottom: none;
        }
        .datalist-option:hover, .datalist-option.active {
            background-color: #002B5B;
            color: white;
        }
        .inline-row {
            display: flex;
            gap: 12px;
            margin-bottom: 10px;
        }
        .inline-row .field {
            flex: 1;
        }
        .transit-type-group {
            margin-top: 8px;
        }
        .small-note {
            font-size: 11px;
            color: #555;
            margin-top: 4px;
        }
        @media (min-width: 768px) {
            .calculator-container {
                flex-direction: row;
            }
            .calculator {
                flex: 2;
            }
            .results {
                flex: 1.5;
            }
            .row {
                flex-direction: row;
            }
        }
        @media (max-width: 768px) {
            .checkbox-container {
                flex-direction: column;
                align-items: stretch;
            }
            .checkbox-option {
                white-space: normal;
            }
            .inline-row {
                flex-direction: column;
                gap: 8px;
            }
        }
