* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    background: slateblue;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

img {
    width: 20rem;
    max-width: 95%;
    margin: 1rem;
}

hr {
    width: 18rem;
    max-width: 95%;
    border: solid white 1px;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.screen {
    margin: 0 .3rem;
    width: 100%;
    display: flex;
    overflow: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.screen>* {
    margin-bottom: .8rem;
    max-width: 95%;
}

.screen>button {
    width: 20rem;
    padding: .5rem;
    background: rgb(81, 70, 158);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bold;
}

.screen>button:hover {
    filter: brightness(90%);
}

.screen input, .screen select {
    width: 15rem;
    max-width: 95%;
    padding: .5rem;
    border: none;
    border-radius: 3px;
    box-sizing: content-box;
}

.screen form {
    width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screen form>* {
    margin-bottom: .3rem;
}

.screen form label {
    text-align: left;
    width: 15rem;
    margin-top: .5rem;
}

.screen form a {
    background: white;
    color: black;
    font-size: small;
    width: 15rem;
    border-radius: 3px;
    border: none;
    padding: .2rem;
    cursor: pointer;
}

.screen form hr {
    margin: .5rem 0;
}

.screen .language {
    padding: .3rem;
    border: none;
    border-radius: 3px;
    background: darkslateblue;
    color: white;
    margin: .3rem;
    cursor: pointer;
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
}

.overlay .content {
    width: 30rem;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: slateblue;
    border-radius: 3px;
}

.overlay .content>* {
    margin-bottom: 1rem;
}

.overlay h1 {
    margin: 1rem 0;
}

.overlay h4 {
    text-align: center;
    margin: 0 2rem 1rem 2rem;
}

.overlay form {
    width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overlay input {
    width: 15rem;
    max-width: 95%;
    padding: .5rem;
    border: none;
    border-radius: 3px;
}

.overlay button {
    width: 95%;
    max-width: 10rem;
    border: none;
    border-radius: 3px;
    margin-bottom: .5rem;
    padding: .5rem;
    cursor: pointer;
}

.hidden {
    display: none;
}


/* User check table styling */
.user-check-overlay .table-container {
    overflow: auto;
    max-height: 20em;
}

.user-check-overlay th {
    background: rgb(74, 63, 145);
}

.user-check-overlay tbody td {
    user-select: none;
    padding: 5px 2px;
}

.user-check-overlay tbody tr:not(.message-row) {
    cursor: pointer;
}

.user-check-overlay tbody tr:hover td:not(.message-cell) {
    background: rgb(81, 70, 158);
}

.message-cell {
    text-align: center;
}

.error {
    color: tomato;
}