body {
    height: 100%;
}

#request-table, #provide-table, #image-request-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

#request-table tr, #image-request-table tr, #provide-table tr {
    display: table-row;
}

#request-table th, #image-request-table th, #provide-table th {
    display: table-cell;
    padding-inline: 5px;
    border: 2px solid #333333;
    
    min-height: 90px;
    max-height: 90px;
    height: 90px;
    overflow-y: hidden;
}

#request-table input, #image-request-table input, #provide-table input {
    background-color: #2b2a33;
    border: 1px solid #8f8f9d;
    border-radius: 4px;
    width: calc(100% - 5px);
}

#request-table td, #image-request-table td, #provide-table td {
    display: table-cell;
    padding-inline: 5px;
    border: 2px solid #333333;
    border-inline-start: none;
}

#request-table td div, #image-request-table td div, #provide-table td div {
    display: flex;
    flex-direction: row;
}

.button-row > * {
    background-color: #333333;
    border: 1px solid #8f8f9d;
    color: white;
    border-radius: 4px;
    width: calc(max(100px, 100%));
    font-size: 0.8rem;
    text-align: center;
}

.button-row .selected {
    background-color: #555555;
}

#submit {
    margin-top: 20px;
    font-size: 1.5em;
    padding: 5px;
    min-width: 110px;
    height: 46px;
    cursor: pointer;
    font-weight: 400;
    background-color: #2b2a33;
    border: 1px solid #8f8f9d;
    border-radius: 4px;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.column {
    display: flex;
    flex-direction: column;
}

#submition-output {
    margin-top: 20px;
    text-align: center;
    unicode-bidi: embed;
}

.already-exists {
    color: red;
}

span.already-exists {
    color: red;
    font-weight: bold;
    position: relative;
    font-size: 0.8rem;
    margin-top: -15px;
    margin-bottom: 4px;
}

.request-options {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}

.request-options h3 {
    font-size: 2em;
}

.request-options .column {
    align-items: center;
    width: 40%;
}

.request-options table {
    min-height: 100%;
    width: 100%;
}

#image-picker {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

@media screen and (max-width: 900px) {
    .request-options h2 {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 800px) {
    .request-options {
        flex-direction: column;
        height: unset;

        margin-top: unset;
    }

    .request-options h2 {
        font-size: 1.5em;
    }

    .request-options h3 {
        font-size: 2.5em;
        margin-block: 10px;
    }

    .request-options .column {
        width: 500px;
    }

    .request-options h2:nth-last-child(2) {
        margin-top: 0px;
    }

}

@media screen and (max-width: 540px) {
    .request-options .column {
        width: 90vw;
    }
}