* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* html {
    min-height: 100%;
} */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #5d6eb9 0%, #3e33d8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.0;
    overflow: auto;
}

.search-bar {
    position: fixed;
    top: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 5px;
    height: 50px;
    width: 80%;
    margin: 5px auto;
    background: linear-gradient(45deg, #667eea, #adb5bd 100%);
    border: 1px solid #000;
    border-radius: 4px;
    padding-left: 10px;
}

.bottom-panel {
    bottom: 10px;
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    width: 80%;
    background: linear-gradient(45deg, #667eea, #adb5bd 100%);
    border: 1px solid #000;
    border-radius: 4px;
    bottom: 35px;
}

.bottom-panel button {
    height: 30px;
    width: 100px;
    cursor: pointer;
    border-radius: 4px;
}

.bottom-panel a {
    text-decoration: none;
    color: #000;
}

footer {
    height: 20px;
    bottom: 5px;
    font-size: 12px;
    position:fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .copyright h4 {
    text-align: center;
    color: #fff;
    letter-spacing: 1.5px;
}

.top-bar_container {
    position: fixed;
    top: 2px;
    height: 35px;
    width: 1200px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.top-bar_container select {
    width: 300px;
    border-radius: 4px;
}

.top-bar_container button {
    width: 150px;
    border-radius: 4px;
}

.desktop-menu_container {
    position: fixed;
    top:5px;
    margin: 5px auto;
    height: 30px;
    width: 100%;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.desktop-menu_container img {
    margin-left: 10px;
    width: 35px;
    height: 35px;
}

.desktop-menu_container img:hover {
    cursor: pointer;
}

.desktop-menu_container ul {
    list-style-type: none;
    margin-top: 10px;
    min-width: 220px;
}

.desktop-menu_container ul a {
    text-decoration: none;
    padding: 5px;
    z-index: 99;
}

.desktop-menu_container .desktop-menu_dropdown-box {
    display: none;
    flex-direction: column;
    border-radius: 4px;
    background-color: #fff;
    margin-top: 3px;
    min-width: 180px;
    padding-top: 3px;
    padding-bottom: 5px;
}

.desktop-menu_container ul:hover {
    cursor: pointer;
}

.desktop-menu_container ul:hover .desktop-menu_dropdown-box {
    position: relative;
    visibility: inherit;
    transition: linear 0.2s;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    z-index: 99;
}

.desktop-menu_container .desktop-menu_dropdown-box a:hover {
    background: linear-gradient(135deg, #3d81f7, #6ea1f8 100%);
    color: #000;
}

table {
    padding:3px;
}

.alarms-table {
    position: fixed;
    /* max-height:350px; */
    display: inline-block;
    overflow-y: auto;
    width: 80%;
    border-collapse: collapse;
    background: #fff;
    /* margin-top: 5px; */
    border-radius: 4px;
}

.orders-table {
    position: fixed;
    /* max-height: 300px; */
    display: inline-block;
    overflow-y: auto;
    width: 80%;
    border-collapse: collapse;
    background: #fff;
    /* margin-top: 5px; */
    border-radius: 4px;
}

.vacation-table {
    position: fixed;
    /* max-height:180px; */
    display: inline-block;
    overflow-y: auto;
    width: 80%;
    border-collapse: collapse;
    background: #fff;
    /* margin-top: 5px; */
    border-radius: 4px;
}

.bills-table {
    position: fixed;
    max-height: 300px;
    display: inline-block;
    overflow-y: auto;
    width: 80%;
    border-collapse: collapse;
    background: #fff;
    /* margin-top: 5px; */
    border-radius: 4px;
}

table caption {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f0f0f;
    padding-top: 8px;
    text-transform: uppercase;
    line-height: 25px;
}

table thead {
    font-weight: 600;
    line-height: 30px;
    font-size: 13px;
    text-align: center;
}

thead td {
    border: 1px solid #000;
}

tbody tr {
    line-height: 20px;
}

tbody td {
    text-align: center;
    border: 1px solid #000;
    font-size: 13px;
}

@media (max-width:2560px) {
    .search-bar {
        width: 60%;
    }
    .bills-table {
        display: inline-table;
        max-height: 180px;
    }
    .vacation-table {
        top:70px;
        max-height: 180px;
    }
    .alarms-table {
        top: 245px;
        max-height: 310px;
    }
    .orders-table {
        top: 580px;
        max-height: 310px;
    }
}

@media (max-width:1920px) {
    .search-bar {
        width: 80%;
    }
    .bills-table {
        display: none;
    }
    .vacation-table {
        top:70px;
        max-height: 180px;
    }
    .alarms-table {
        top: 260px;
        max-height: 310px;
    }
    .orders-table {
        top: 580px;
        max-height: 310px;
    }
}
