.mainTable {
    width: 100%;
    border-collapse: collapse;
}

.mainTable td,th {
    padding: 1rem;
}

.mainTable tr {
    height: 3rem;
}

.mainTable th {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
}

.mainTable th:after {
    content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        border-bottom: 1px solid rgb(206, 208, 212);
        z-index: 2;
}

.mainTable thead tr {
    position: sticky;
    top: 0;
    z-index:99; /* HACK switches are on top otherwise */
}

.hasToolbar thead tr {
    top: 70px; /* HACK this is supposed to be the same as the .secondaryToolbar height  */
}

.mainTable .mono {
    font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
}

.mainTable tbody tr {
    border-bottom: 1px solid rgb(229, 231, 235);
    color: var(--secondaryFontColor);
}

/*.mainTable tbody tr:hover {*/
/*    background-color: #f9f9f9;*/
/*}*/

.mainTable tbody tr:last-child {
    border-bottom: none;
}

.mainTable th {
    text-align: left;
}

.mainTable .right-aligned {
    text-align: right;
}

.mainTable .green {
    color: green;
}

.search-input {
    width: 10rem;
    padding: 6px 3px;
    font-size: 16px;
    font-family: var(--primaryFontFamily);
    border: none;
    border-bottom: 1px solid #aaa;
    outline: none;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .search-input {
    background: #fff !important;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    color: #111 !important;
  }
}
