html, body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Cantarell, Ubuntu, Helvetica Neue, Arial, Noto Color Emoji, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;;
}

a {
    text-decoration: none;
    color: #0082c9;
}

a.button,
input[type="submit"] {
    padding: 8px 16px;
    width: auto;
    height: 34px;
    cursor: pointer;
    background-color: #0082c9;
    font-weight: bold;
    border-radius: 8px;
    margin: 3px 3px 3px 0;
    font-size: 14px;
    color: white;
    border: .5px solid black;
    outline: none;
}

a.button:focus,
input[type="submit"]:focus {
    border: 1px solid black;
}

summary {
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding-bottom: 5px;
}

span.error {
    background-color: #e9322d;
}

div.toast.error {
    border-left-color: #e9322d;
}

.status {
    display: inline-block;
    height: 16px;
    width: 16px;
    vertical-align: text-bottom
}

.status {
    border-radius: 50%
}


span.success {
    background-color: #46ba61;
}

span.running {
    background-color: rgb(255, 208, 0);
}

div.toast.success {
    border-left-color: #46ba61;
}

div.toast {
    border-left: 3px solid;
    right: 10px;
    min-width: 200px;
    box-shadow: 0 0 6px 0 rgba(77, 77, 77, 0.3);
    padding: 12px;
    margin-top: 45px;
    position: fixed;
    z-index: 1000;
    border-radius: 3px;
    background: white none;
}

.login {
    padding: 50px;
    background-color: white;
    width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
}

.login > .monospace {
    font-family: monospace;
    font-size: 17px;
}

form {
    margin: 0;
}

input[type="text"],
input[type="password"],
select {
    padding-left: 8px;
    padding-right: 8px;
    height: 34px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: .5px solid black;
}

textarea {
    border-radius: 8px;
    border: .5px solid black;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border: 1px solid black;
}

.login > form > input[type="password"],
.login > form > input[type="text"],
.login > form > input[type="submit"] {
    width: 100%;
}

.login > img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.login a.button,
.login input[type="submit"] {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    padding: 0px;
    align-content: center;
}

.login-wrapper {
    min-height: 100dvh;
    min-width: 100vw;
    position: fixed;
    width: 100vw;
    height: auto;
    background-image: url("img/Background_Light.jpg");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

main {
    padding: 20px;
    max-width: 100%;
    word-break: break-word;
    max-width: 500px;
    margin: 0 auto;
}

.logo {
    background-image: url('/img/logo.svg');
    height: 50px;
    background-repeat: no-repeat;
    display: inline-flex;
    background-size: contain;
    background-position: center center;
    width: 62px;
    position: absolute;
    left: 12px;
    top: 1px;
    bottom: 1px;
}

header {
    background-color: #0082c9;
    background-image: linear-gradient(40deg, #0082c9 0%, #30b6ff 100%);
    height: 50px;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

header > form {
    margin: 0 8px;
}

.loading {
    color: grey;
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 2;
}

#overlay.loading {
    display: block;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #0082c9;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: calc(50% - 60px);
    left: calc(50% - 60px);
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
