/* Styles adapted from results_v2.html for consistency */
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8f9fa;
            /* Light grey background */
            padding-top: 20px;
            padding-bottom: 40px;
            /* Added more space at bottom */
        }

        .container.form-container {
            background-color: #ffffff;
            /* White container for the form */
            padding: 35px;
            /* Slightly more padding */
            border-radius: 10px;
            /* Rounded corners */
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.07);
            /* Subtle shadow */
            max-width: 800px;
            /* Control form width */
            margin-top: 20px;
            margin-bottom: 20px;
        }

        h1 {
            color: #212529;
            /* Darker heading color */
            margin-bottom: 30px;
            /* More space after title */
            font-weight: 700;
            text-align: center;
        }

        .form-label {
            font-weight: 500;
            /* Slightly bolder labels */
            margin-bottom: 0.4rem;
            color: #495057;
            /* Label color */
        }

        .form-control,
        .form-select {
            border-radius: 0.375rem;
            /* Standard Bootstrap rounding */
            border: 1px solid #ced4da;
            /* Standard border */
        }

        .form-control:focus,
        .form-select:focus {
            border-color: #86b7fe;
            /* Bootstrap focus color */
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

        .btn-primary {
            /* Main action button style */
            background-color: #007bff;
            border-color: #007bff;
            padding: 10px 25px;
            font-size: 1.1rem;
            font-weight: 500;
            border-radius: 0.375rem;
        }

        .btn-primary:hover {
            background-color: #0069d9;
            border-color: #0062cc;
        }

        /* Form sections for better visual grouping */
        .form-section {
            margin-bottom: 2.5rem;
            /* Space between sections */
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #e9ecef;
            /* Lighter separator */
        }

        .form-section:last-of-type {
            border-bottom: none;
            /* No border for the last section */
            margin-bottom: 0.5rem;
            /* Less margin if it's the last */
        }

        .form-section h4 {
            /* Sub-headings for sections */
            font-weight: 600;
            color: #343a40;
            margin-bottom: 1.25rem;
            font-size: 1.3rem;
        }

        .form-check-label {
            margin-left: 0.25rem;
            color: #495057;
        }

        .form-check-input:checked {
            background-color: #007bff;
            border-color: #007bff;
        }

        .text-muted.small {
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }