.lh_main_container
{
    width: 80%;
    background-color: darkblue;
}

.lh_clean_container
{
    width: 80%;
    background-color: darkblue;

    display: grid;
    grid-template-rows: 75px 1fr;
    grid-template-columns: 1fr;
    grid-template-areas:
        "menu"
        "details";

    overflow: hidden;

    >.menu
    {
        grid-area: menu;
        background-color: darkblue;
        color: white;
        align-content: flex-start;
        align-items: center;
        column-gap: 5px;
        display: flex;

        .button
        {
            border: 1px solid white;
            background-color: black;
            color: orange;
            align-content: center;
            padding: 5px;
        }

        .toggle_on
        {
            background-color: green;
            color: white;
        }

        .button:hover
        {
            cursor: pointer;
            background-color: orange;
            color: black;
        }
    }

    >.clean_details
    {
        width: 100%;

        grid-area: details;

        background-color: #333333;
        color: white;

        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: "customers truck single";

        overflow: hidden;

        >.customers
        {
            background-color: #993333;
            color: black;
            grid-area: customers;

            width: 100%;

            display: flex;
            flex-direction: column;

            overflow-x: hidden;
            overflow-y: scroll;

            >.customer
            {
                background-color: black;
                display: flex;
                flex-direction: column;

                border: 1px solid black;

                gap: 5px;

                padding: 5px;

                width: 100%;

                >.name
                {
                    width: 100%;
                    font-size: 24px;
                    text-align: center;
                    background-color: darkblue;
                    color: white;
                }

                >.line
                {
                    width: 100%;
                    display: flex;
                    flex-direction: column;

                    >.pro
                    {
                        width: 100%;
                        background-color: orange;
                        color: black;
                    }

                    >.trip
                    {
                        width: 100%;
                        text-align: right;
                        background-color: black;
                        color: orange;
                    }

                    >.buttons
                    {
                        display: flex;
                        flex-direction: row;

                        gap: 5px;

                        >.button
                        {
                            background-color: darkred;
                            color: white;
                            padding: 4px;
                        }

                        >.button:hover
                        {
                            background-color: rgb(190, 0, 0);
                            color: white;
                            cursor: pointer;
                        }
                    }
                }
            }
        }

        >.truck
        {
            background-color: #339933;
            grid-area: truck;
            display: flex;
            flex-direction: column;

            overflow-x: hidden;
            overflow-y: scroll;

            >.customer
            {
                background-color: black;
                display: flex;
                flex-direction: column;

                border: 1px solid black;

                gap: 5px;

                padding: 5px;

                width: 100%;

                >.name
                {
                    width: 100%;
                    font-size: 24px;
                    text-align: center;
                    background-color: darkblue;
                    color: white;
                }

                >.line
                {
                    width: 100%;
                    display: flex;
                    flex-direction: column;

                    >.pro
                    {
                        width: 100%;
                        background-color: orange;
                        color: black;
                    }

                    >.trip
                    {
                        width: 100%;
                        text-align: right;
                        background-color: black;
                        color: orange;
                    }

                    >.buttons
                    {
                        display: flex;
                        flex-direction: row;

                        gap: 5px;

                        >.button
                        {
                            background-color: darkred;
                            color: white;
                            padding: 4px;
                        }

                        >.button:hover
                        {
                            background-color: rgb(190, 0, 0);
                            color: white;
                            cursor: pointer;
                        }
                    }
                }
            }
        }

        >.single
        {
            background-color: #333399;
            grid-area: single;
        }
    }
}

.lh_update_container
{
    background-color: orange;
    color: black;

    display: grid;

    grid-template-areas:
      "trips trip"
      "pros pros";

    grid-template-rows: 1fr 1fr;
    grid-template-columns: 2fr 1fr;

    overflow: hidden;

    .trip_pros
    {
        grid-area: pros;

        display: grid;

        background-color: black;
        color: orange;

        overflow: hidden;

        >.empty
        {
            width: 100%;

            font-size: 24px;
            text-align: center;

            align-self: center;
        }

        >.pro_details
        {
            width: 100%;
            overflow: auto;
            table
            {
                background-color: black;
                color: white;
                thead
                {
                    th, td
                    {
                        padding: 0px 5px;
                        border: 2px solid blue;
                    }
                }

                tbody
                {
                    tr:hover
                    {
                        background-color: orange;
                        color: black;
                        cursor: default;
                    }

                    th, td
                    {
                        padding: 0px 5px;
                        border: 1px solid grey;
                    }
                }
            }
        }
    }

    .pro
    {
        background-color: darkgreen;
    }

    .trips
    {
        grid-area: trips;
        background-color: red;

        display: grid;

        grid-template-areas:
            "menu"
            "details";

        grid-template-rows: 45px 1fr;
        grid-template-columns: 1fr;

        overflow: hidden;

        .trips_menu
        {
            grid-area: menu;
            background-color: darkblue;
            color: white;
            align-content: flex-start;
            align-items: center;
            column-gap: 5px;
            display: flex;

            .button
            {
                border: 1px solid white;
                background-color: black;
                color: orange;
                align-content: center;
                padding: 5px;
            }

            .toggle_on
            {
                background-color: green;
                color: white;
            }

            .button:hover
            {
                cursor: pointer;
                background-color: orange;
                color: black;
            }
        }

        .trips_details
        {
            grid-area: details;
            background-color: black;
            color: white;
    
            overflow: auto;
        }
    }

    .trip
    {
        grid-area: trip;
        background-color: black;
        color: orange;

        display: grid;
        grid-template-columns: 1fr;

        align-content: start;

        overflow: auto;

        width: 100%;

        .empty
        {
            width: 100%;

            font-size: 24px;
            text-align: center;

            align-self: center;
        }

        .details
        {
            width: 100%;

            display: grid;
            grid-template-columns: 1fr;
            align-content: stretch;
            align-items: start;

            gap: 4px;

            .line
            {
                width: 100%;

                display: flex;
                flex-direction: row;

                justify-content: space-between;

                border: 1px solid white;

                div
                {
                    width: 100%;
                    padding: 5px;
                }

                >.right
                {
                    text-align: right;
                }

                .button
                {
                    background-color: black;
                    color: orange;
                }

                .button:hover
                {
                    cursor: pointer;
                    background-color: orange;
                    color: black;
                }
            }
        }
    }

    .trip_stats
    {
        grid-area: stats;

        overflow: auto;
    }

    width: 80%;
}
