.hidden {
    display: none !important;
}

html, body {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

#lookup-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.table-container {
    flex: 1;
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background-color: #C1E1C1;
}

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

tr.selected {
    background-color: #d0ebff;
}

#buttons {
    text-align: right;
}

button {
    padding: 6px 12px;
    margin-left: 5px;
    cursor: pointer;
}

table th, table td {
    width: 20%;
}

/* Responsive: Tablets */
@media (max-width: 1024px) {
    #lookup-container {
        width: 90%;
    }

    .table-container {
        max-height: 50vh;
    }
}

/* Responsive: Phones - stacked layout */
@media (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        padding: 10px;
        background-color: #f9f9f9;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 8px;
        font-weight: bold;
        white-space: nowrap;
    }
}

/* Responsive: Large monitors */
th, td {
    font-size: 16px;
}

td {
  text-transform: uppercase;
}

.selected {
   background-color: #d1ecf1;
   outline: 2px solid #0c5460;
   }

