﻿/* Lock the layout to portrait mode for non-PWA usage in the browser */
@media screen and (orientation: landscape) {
    #loading_items {
        text-align: center;
        width: 100vw;
        height: 50vw;
        margin-top: 20vh;
        }

    #dialog-component {
        display: none;
    }

    body {
        background-color: #404040;
        
        position: fixed;
        margin: 0;
        overflow: hidden;
        touch-action: none;
    }

    #no-touch {
        background-color: #404040;
        display: block;
    }

    .header {
        display: none;
        background-color: #404040;
        position: fixed;
        margin: 0;
        overflow: hidden;
        touch-action: none;
    }

    #footer_buttons {
        display: none;
    }
}

@media screen and (orientation: portrait) {
    #loading_items {
        text-align: center;
        width: 100vw;
        height: 50vw;
        margin-top: 15vh;
    }
    

    body {
        background-color: #404040;
        position: fixed;
        margin: 0;
        height: 100vh;
        width: 100%;
        overflow: hidden;
        touch-action: none;
    }

    #no-touch {
        background-color: #404040;
        display: none;
    }
}

.header {
    font-size: 110%;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    z-index: 1000;
}

.container {
   
}



.fixed-columns {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #f8f9fa; /* Background color of fixed columns */
}

.scrollable-columns {
    overflow-x: auto; /* Enable horizontal scrolling for scrollable columns */
}

table {
    border-collapse: collapse;
    width: 100%; /* Ensure the table takes up the full width of its container */
}


th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}



.column-header {
    background-color: #f2f2f2; /* Background color of table header */

    height: 40px; /* Set the same height for column headers */

    white-space: nowrap; /* Prevent text wrapping */
}