    body { 
        font-family: Arial, sans-serif; 
        margin: 0; 
        padding: 0; 
        background-color: #121212; /* Dark background */
        color: white; /* Light text color */
    }

    #data-table {
        max-height: 35vh; /* Set max height to 30% of viewport height */
        overflow-y: auto; /* Enables vertical scrolling */
        overflow-x: hidden; /* Disable horizontal scrolling */
        display: block; /* Make the container block */
    }

    table {
        width: 100%; 
        border-collapse: collapse; 
        margin-top: 20px; 
        background-color: #1e1e1e; /* Dark background for tables */
        table-layout: auto; /* Adjusts column widths based on content */
    }

    thead {
        position: sticky; /* Make the header sticky */
        top: 0; /* Position it at the top */
        background-color: #333333; /* Darker background for table headers */
        z-index: 10; /* Ensure it sits above the body */
    }

    th, td { 
        border: 1px solid #3a3a3a; /* Lighter borders */
        padding: 8px; 
        text-align: left; 
        overflow: hidden; /* Prevents overflow */
        white-space: nowrap; /* Prevent text wrapping */
    }

    tr {
        display: table; /* Ensure that rows behave like table rows */
        width: 100%; /* Full width */
        table-layout: fixed; /* Fix cell widths */
    }
    
    h1 { text-align: center; }

    /* Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.8); /* Dark transparent background for modals */
        padding-top: 60px;
    }

    .modal-content {
        background-color: #1e1e1e; /* Dark modal background */
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 300px;
        text-align: center;
        color: white; /* Light text in modal */
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: red;
        cursor: pointer;
    }

    /* Input and button styles */
    input[type="date"],
    input[type="number"],
    #submitEntry,
    #openModal {
        background-color: #333333; /* Dark input backgrounds */
        color: white; /* Light input text */
        border: none; /* Remove borders */
        width: 100%; /* Full width */
        padding: 10px; /* Spacing */
        margin: 10px 0; /* Vertical spacing */
        box-sizing: border-box; /* Box model */
        font-size: 16px; /* Font size */
    }

    /* Button styles */
    #submitEntry,
    #openModal {
        background-color: #1DA1D8; /* Button background color */
        color: white; /* Button text color */
        cursor: pointer; /* Pointer on hover */
        font-size: 18px; /* Larger font */
        border-radius: 5px; /* Slightly rounded corners */
    }

    /* Change button color on hover */
    #submitEntry:hover,
    #openModal:hover {
        background-color: #27D3F5; /* Lighter shade on hover */
    }

    /* Error messages */
    #errorMsg {
        color: red; /* Error message color */
        display: none; /* Initially hidden */
    }

    /* Chart background */
    canvas {
        background-color: #1e1e1e; /* Dark background for chart */
        border: 1px solid #3a3a3a; /* Lighter border for chart */
    }
    
    /* Canvas to occupy no more than 50% of the height of the display */
    #fuelChart {
        max-height: 50vh; /* 50% of the viewport height */
        width: 100%; /* Full width */
    }