body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    line-height: 1.4rem;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    /* justify-content: flex-end; */

    min-height: 100vh;
    overflow-x: hidden;
}

input {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    border: 0;
    outline: 0;

    /* border-radius: 4px; */
    border: 1px solid rgba(175, 188, 202, 0.336);
    background-color: rgb(224, 228, 234);

    padding: 5px;
}

h1 {
    padding: 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.view-controls a {
    color: inherit;
    text-decoration: none;
}

.view-controls a:hover {
    text-decoration: underline;
}

#page-input {
    width: 50px;
    text-align: center;
}

.page-selector {
    display: flex;
    column-gap: 10px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;

    width: 100%;
}

th a {
    color: inherit;
}

table tr > td:first-child {
    max-width: 200px;
}

table tr > td:nth-child(4):not(:empty):not(:has(input))::after {
    content: "MiB";
}

table tr > td:nth-child(3):not(:empty):not(:has(input))::before {
    content: "$";
}

td, th {
    padding: 10px;
    /* text-align: left; */
    border: 1px solid white;
}

table tbody tr {
    background-color: rgba(199, 212, 226, 0.336);
}

table tbody tr:nth-last-of-type(odd) {
    background-color: rgba(14, 116, 233, 0.336);
}

details {
    cursor: pointer;
}

.notice {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 100vw;
    height: 60px;

    color: white;
    /* background-color: #b074fc; */
    background-color: rgba(14, 116, 233, 0.673);;
    font-weight: bold;

    text-align: center;
}

.notice > .close {
    position: absolute;
    /* content: "\2716"; */

    cursor: pointer;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);
}

footer {
    width: 100vw;
    padding: 10px;
    box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.116);

    box-sizing: border-box;

    margin-top: auto;

    align-self: center;
}

header {
    width: 100vw;
    height: 60px;

    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.116);
    overflow: visible;

    margin-bottom: 10px;

    box-sizing: border-box;
    
    display: flex;

    align-items: center;
    justify-content: center;
}

#search-bar {
    width: 70vw;
    max-width: 860px;

    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
}

#search-bar input {
    height: 40px;

    border: none;
    outline: none;

    background-color: rgb(224, 228, 234);
    border: 1px solid rgb(230, 235, 235);
}

#search-bar input[type="text"] {
    width: 100%;
    margin-right: 3px;

    border-radius: 4rem 0 0 4rem;
    box-sizing: border-box;

    padding: 0 20px 0 20px;

    font-size: 1rem;
}

#search-bar input[type="submit"] {
    width: 50px;

    border-radius: 0 4rem 4rem 0;
    box-sizing: border-box;

    cursor: pointer;
}

td:has(input) {
    /* padding: 0; */
}

table input {
    width: 100%;
    height: 100%;

    box-sizing: border-box;
}

.view-controls {
    display: flex;
    flex-direction: column;

    gap: 10px;


    width: 100%;
    padding: 10px;
}

@media only screen and (max-width: 500px) {
    #search-bar {
        width: 90vw;
    }
}