.ModalContainer{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #00000080;
    z-index: 9;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.ModalContainer.show {
    display: flex; /* Show modal when the 'show' class is added */
}

.ModalBody{
    max-height: 90%;
    min-width: 350px;
    max-width: 90%;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.InputResults{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    overflow: auto;
}

.SearchContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 40px;
}

.Search{
    width: 300px;
    padding: 0 10px;
    height: 32px;
    border: 1px solid #f7f7f7;
    border-radius: 6px;
    font-size: 12px;
}

.Search:focus{
    outline: none;
}

.SearchContainer > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.SearchContainer > div > label {
    white-space: nowrap;
}

.SearchContainer > div > input, .SearchContainer > div > select {
    width: 140px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 4px;
}

.SubmitButton{
    width: 100px;
    height: 32px;
    background: #189c5c;
    border: none;
    outline: none;
    color: #ffffff;
    border-radius:16px;
}

.CloseButtonCont{
    align-self: center;
    margin: 0 0 20px 0;
}

.CloseButton{
    width: 100px;
    height: 32px;
    background: #163640;
    border: none;
    outline: none;
    color: #ffffff;
    border-radius:16px;
    align-self: center;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

.result-table thead {
    position: sticky;
    top: -1px;
    border: 1px solid #ddd;
}

.result-table thead th:last-child, .result-table tbody td:last-child{
    position: sticky;
    right: -2px;
    border: 1px solid #ddd;
    background: #e7e7e7;
}

.result-table tbody td:last-child button{
    background: #189c5c;
    border: none;
    padding: 4px 12px;
    border-radius: 16px;
    color: #ffffff;
}

.result-table th, .result-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
}

.result-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.result-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.result-table tr:hover {
    background-color: #f1f1f1;
}


.Pagination{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
  
.page-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: none;
    background: #007bff;
    color: #fff;
    cursor: pointer;
}

.Pagination .page-button:hover {
    background: #0056b3;
}
