html {
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: auto;
    width: 80%;
    max-width: calc(1920px * 0.8);
    margin-bottom: 10vh;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: -webkit-fill-available;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

table td:has(img) {
    display: flex;
    justify-content: center;
}

table td>input, table td>select {
    width: -webkit-fill-available;
}

.center_items {
    display: flex;
    justify-content: center;
}

.center_text {
    text-align: center;
}

.right_text {
    text-align: right;
}

.table-wrapper-x-scroll {
    width: -webkit-fill-available;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* .table-label-input tr {
    display: flex;
}

.table-label-input>td {
    text-align: end;
    width: max-content;
    display: flex;
}

.table-label-input>td:has(input) {
    width: max-content;
}

.table-label-input>td>input {
    width: 200px;
} */

.wrapper-label-input {
    display: flex;
    flex-direction: column;
}

.wrapper-label-input.bold-1st>div>div:nth-child(1) {
    font-weight: bold;
}

.wrapper-label-input>div {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}

.wrapper-label-input>div>div:nth-child(1) {
    width: 20%;
    min-width: fit-content;
    text-align: end;
}

.wrapper-label-input>div>div:nth-child(2) {
    padding-right: 5px;
}


.table>*>* {
    width: -webkit-fill-available;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.table>* {
    width: -webkit-fill-available;

    display: flex;
    flex-direction: row;

    gap: 10px;
}

button {
        padding: 5px 10px;
        cursor: pointer;
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 400px;
}

.modal-content label {
    display: block;
    margin: 10px 0;
}

.modal-content button {
    margin: 10px 5px;
}

.search-container {
    margin-bottom: 10px;
}

.search-container input {
    padding: 5px;
    width: 200px;
    font-size: 14px;
}