        body {
            background-color: #1a1a1a; /* Dark background */
            color: #f0f0f0; /* Light text */
            font-family: sans-serif;
            padding: 20px;
        }

        /* --- Input and Layout Grid --- */
        #analysis-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-width: 900px;
            margin: 0 auto; /* Center the form */
        }

        #input-grid {
            display: flex;
            gap: 20px;
        }

        #left-inputs {
            display: flex;
            flex-direction: column;
            gap: 15px;
            flex-grow: 1; /* Allow left side to take available space */
        }

        #probe-scan-wrapper {
            flex-grow: 2; /* Allow textarea to take more space */
        }

        #probe-scan-paste {
            width: 100%;
            height: 100%; /* Fill the container height */
            min-height: 150px;
            resize: none;
            border: 1px solid #444;
            background-color: #2c2c2c;
            color: #f0f0f0;
            padding: 10px;
            box-sizing: border-box;
        }

        /* Input styling */
        #left-inputs input, #left-inputs label {
            display: block;
            width: 100%;
            padding: 8px;
            border: 1px solid #444;
            background-color: #2c2c2c;
            color: #f0f0f0;
            box-sizing: border-box;
        }

        /* --- Summary Boxes --- */
        #summary-section {
            display: flex;
            gap: 20px;
            margin: 25px auto; /* Center below form */
            max-width: 900px;
        }

        .summary-box {
            background-color: #2c2c2c;
            border: 1px solid #444;
            padding: 15px;
            border-radius: 5px;
            min-width: 250px;
        }

        .summary-box h4 {
            color: #aaa;
            margin-top: 0;
            font-size: 0.9em;
        }

        .total-isk {
            color: #4CAF50; /* Green highlight for value */
            font-size: 1.8em;
            font-weight: bold;
        }

        /* --- Table Styling --- */
        #anomalies-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        #anomalies-table th,
        #anomalies-table td {
            padding: 10px 15px;
            text-align: left;
            border-bottom: 1px solid #3a3a3a;
        }

        #anomalies-table th {
            background-color: #333;
            color: #fff;
            font-weight: normal;
            text-transform: uppercase;
            font-size: 0.85em;
        }

        #anomalies-table tbody tr:nth-child(even) {
            background-color: #242424;
        }

        .value-zero { color: #f44336; font-weight: bold; }
        .value-calculated { color: #4CAF50; }

        /* --- Input and Layout Grid --- */
#input-grid {
    display: flex;
    gap: 20px;
    align-items: stretch; /* Ensures columns stretch to max height */
    padding-bottom: 20px; /* Space above the separator line */
}

/* Grouping labels and inputs */
.input-group {
    display: flex;
    flex-direction: column; /* Stack label over input */
    gap: 5px; /* Small space between label and input */
    margin-bottom: 15px; /* Space between input groups */
}

/* Ensure labels are distinctly above the fields */
#left-inputs label,
#probe-scan-wrapper label {
    font-size: 0.9em;
    color: #f0f0f0; /* Use light color for distinct labels */
    padding: 0;
    margin-bottom: 3px; /* Space under the label */
    border: none; /* Ensure labels have no background/border from previous styling */
    background: none;
}

/* Make inputs uniform */
#left-inputs input {
    padding: 10px;
    border: 1px solid #444;
    background-color: #2c2c2c;
}

/* Ensure the textarea wrapper aligns everything */
#probe-scan-wrapper {
    flex-grow: 2; /* Takes up most space */
    display: flex;
    flex-direction: column;
}

#probe-scan-paste {
    flex-grow: 1; /* Makes the textarea fill all available height */
    min-height: 150px;
    /* Maintain existing styling */
    border: 1px solid #444;
    background-color: #2c2c2c;
    color: #f0f0f0;
    padding: 10px;
    box-sizing: border-box;
}

/* Ensure button is also styled */
#analyze-button {
    padding: 10px 20px;
    background-color: #007bff; /* Standard blue button */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    max-width: 150px;
}
