:root {
    --background_light: rgb(50, 51, 46);
    --background_dark: rgb(40, 41, 35);
}

body {
    position: relative;
    margin: 0;
    background: var(--background_dark);
    color: white;
    overflow-x: hidden;

    /* Center everything in the viewport */
    min-height: 100vh;
    display: flex;
    align-items: center;      /* vertical */
    justify-content: center;  /* horizontal */
}


.courier_font {
    font-family: 'Courier New', monospace;
}

.modal-dialog {
    width: 64vw !important;
    max-width: unset !important;
}

.modal-lg,
.modal-xl {
    max-width: unset !important;
}

#success_modal_content {
    align-content: center !important;
    min-width: 20vw;
    max-width: 80vw;
    margin: 0 auto;
}

.form-control,
.form-select,
.datetime-picker,
.datetime-picker:focus .form-control:focus,
.form-select:focus {
    background-color: var(--background_dark) !important;
    color: #eee !important;
    border: 1px solid #555 !important;
    box-shadow: none !important;
}

.form-control::placeholder {
    color: #888;
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: #888;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #888;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #888;
}

.auth-box {
    width: 300px;
    padding: 2rem;
    border: 1px #444 solid;
    border-radius: 8px;
    background: #2c2c29;
}


.auth-box h2 {
    color: grey;
    margin-bottom: 1rem;
    text-align: center;
}

.auth-box label {
    color: grey;
    display: block;
    margin-bottom: .25rem;
    font-size: .9rem;
}

.auth-box input {
    width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
    border: 1px #555 solid;
    border-radius: 4px;
    background: #3a3a36;
    color: white;
}

.auth-box button {
    width: 100%;
    padding: .5rem;
    background: #4e73df;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.auth-box button:hover {
    transition: background-color 0.2s ease;
    background-color: rgb(11, 94, 215) !important;
    cursor: pointer;
}

.auth-box a {
    color: #4e73df;
    text-decoration: none;
}

.auth-box p {
    margin-top: 1rem;
    text-align: center;
    color: grey;
    font-size: .9rem;
}