html {
    -webkit-font-smoothing: antialiased !important;
    font-family: "Helvetica Neue", Arial, sans-serif;
    min-height: 400px;
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: "edge-icons";
    src: url("fonts/edge-icons.eot");
    src: url("fonts/edge-icons.eot?#iefix") format("embedded-opentype"),
    url("fonts/edge-icons.woff") format("woff"),
    url("fonts/edge-icons.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.icon:before {
    font-family: "edge-icons";
}

.icon {
    display: inline-block;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon_user:before {
    content: "\f217";
    font-size: .78em;
}

.icon_lock:before {
    content: "\f19a";
}

#login_form {
    padding: 20px 20px 30px 20px;
    font-size: 30px;
}

.fullscreen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.login-panel {
    animation-name: slideUpFadeIn;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    background-color: #282c30 !important;
    color: white !important;
}

body {
    width: 100%;
    height: 100%;
    background-color: #212529 !important;
    margin: 0;
    padding: 0;
}

.login-logo {
    background-image: url(../images/logo_dark.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 240px;
    min-height: 128px;
    height: 128px;
    filter: drop-shadow(0px 0px 4px #000);
    animation-name: wipeIn;
    animation-duration: 650ms;
    animation-timing-function: ease-in;
    animation-delay: 0s;
}

.login-input {
    background-color: #282828;
    border: 1px solid #333333;
    color: white;
    font-size: 18px;
    line-height: 1.5em;
    padding: 5px 5px;
    width: 300px;
    transition: border ease-in 200ms;
}

.login-input:focus {
    border: 1px solid #CCCCCC;
}

textarea:focus, input:focus {
    outline: none;
}

label {
    color: white;
    display: inline-block;
    margin-right: 10px;
}

.form-field {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.button-bar {
    position: relative;
    display: flex;
    flex-direction: row;
    align-content: flex-end;
    align-items: flex-end;
    padding: 10px 30px 0 30px;
}

.error {
    background-color: #3d1515;
    color: #ffe1e1;
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.error svg {
    fill: #ffe1e1;
}

.error-text {
    flex: 1 1 auto;
}

.error-icon {
    fill: #ffe1e1;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    display: inline-block;
}

#caps_lock {
    display: block;
    position: relative;
    top: -10px;
    font-size: 14px;
    color: #cfebff;
    right: 0px;
    text-align: right;
}

#message {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 350px;
}

@keyframes slideUpFadeIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    80% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes wipeIn {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    70% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.justify-center {
    justify-content: center;
}

.circle-btn-bar {
    position: absolute;
}

*:focus-visible {
    outline: none;
}

@media only screen
and (max-device-width: 600px) {
    /* CSS Rules Here */
    #login_form {
        font-size: 60px;
    }

    #login-btn {
        font-size: 32px;
    }

    .fullscreen {
        justify-content: center;
        margin-top: -60px;
        min-height: 100%;
    }
}

@media only screen
and (max-device-height: 570px) {

    .fullscreen {
        margin-top: 0;
    }
}

.material-field-fill {
    background-color: #3e4245;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding-top: 6px;
}

.mui-textfield.mui-textfield--float-label > label {
    left: 10px;
}

.mui-textfield > input {
    padding-left: 10px !important;
    padding-right: 10px !important;
    color: white !important;
    border-bottom: 1px solid #676767 !important;
    font-size: 16px;
}

.mui-btn--primary {
    background-color: #ee3026 !important;
    color: white !important;
    text-transform: none !important;
    width: 120px;
    height: 32px !important;
    line-height: 32px !important;
}

.mui-textfield--float-label > label {
    color: white !important;
}

.mui-textfield--float-label > input:focus ~ label, .mui-textfield--float-label > input:not(:focus).mui--is-not-empty ~ label {
    color: #cfebff !important;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.links a:hover {
    color: #2196F3 !important;
    text-decoration: none !important;
}

.links a {
    color: white !important;
}

.bot-right-triangle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(to bottom right, transparent 0%, transparent 50%, #ee3026 50%, #ee3026 100%);
}

.top-left-triangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(to bottom right, #ee3026 0%, #ee3026 50%, transparent 50%, transparent 100%);
}

.field-with-icon {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.field-with-icon svg {
    margin-bottom: 15px;
    fill: #6f6f6f;
}

.sign-in {
    font-size: 24px;
}

input:-webkit-autofill,
input:-webkit-autofill:active,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
    font-size: 16px;
}

input[data-autocompleted] {
    background-color: transparent !important;
    font-size: 16px;
}
