body {
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
        "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    background-color: #5fabde;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-size: 0.9em;
}
.hidden {
    display: none!important;
}
.login-card {
    border-radius: 10px;
    border: 3px solid white;
    background-color: white;
    width: 95vw;
    height: 95vh;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 600px;
    max-width: 850px;
}
.login-card-left {
    width: 40%;
    height: 100%;
    background: rgb(115, 191, 217);
    background: linear-gradient(
        125deg,
        rgba(115, 191, 217, 1) 0%,
        rgba(85, 153, 244, 1) 100%
    );
    border-radius: 10px;
    display: none;
}
.login-card-left::after {
    content: "";
    width: 400px;
    height: 400px;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    position: absolute;
    left: -100px;
    bottom: -150px;
}
.login-card .logo {
    margin: 30px auto auto auto;
}
#login-card-right {
    text-align: center;
    width: 100%;
    padding: 2em;
    position: relative;
    display: flex;
    flex-direction: column;
}
#mobile-logo {
    display: block;
    max-width: 100px;
    margin: 0 auto 5px auto;
}
h1 {
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0.8em;
    font-size: 1.8em;
}
#connect {
    margin-bottom: auto;
}
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 15px;
}
#info-bar {
    position: fixed;
    width: 95%;
    max-width: 280px;
    min-height: 40px;
    border-radius: 10px;
    background-color: #E4EBF5;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding: 5px 20px 5px 10px;
    z-index: 2;
    display: none;
    cursor: pointer;
}
#info-bar:before, #info-bar:after {
  position: absolute;
  right: 15px;
  content: ' ';
  height: 20px;
  width: 2px;
  background-color: #333;
}
#info-bar:before {
  transform: rotate(45deg);
}
#info-bar:after {
  transform: rotate(-45deg);
}
#info-bar.alert {
    display: flex;
    background-color: #edd8d8;
    color: #571f1f;
}
input {
    background-color: #f3f6f9;
    border-radius: 5px;
    border: none;
    min-height: 30px;
    font-size: 16px;
    padding-left: 5px;
}
@media only screen and (max-height: 550px) {
    #mobile-logo {
        max-height: 60px;
    }
    h1 {
        margin-bottom: 0.3em;
        font-size: 1.5em;
    }
    body {
        font-size: 0.8em;
    }
    .form-group {
        margin-bottom: 5px;
    }
}

/* desktop */
@media only screen and (min-width: 769px) {
    .login-card {
        width: 50vw;
        height: 60vh;
    }
    .login-card-left {
        display: flex;
    }
    #login-card-right {
        width: 60%;
    }
    #mobile-logo {
        display: none;
    }
    h1 {
        font-size: 2em;
        margin-bottom: 1.4em;
    }
    body {
        background-color: #f3f3f7;
    }
    #connect {
        margin-bottom: 30px;
    }
    input {
        font-size: 1em;
    }
}

.login-actions {
    display: flex;
    flex-direction: column;
    align-items: left;
}
.login-actions-right {
    margin-right: auto;
}
@media only screen and (min-width: 400px) {
    .login-actions {
        flex-direction: row;
        align-items: center;
    }
    .login-actions-right {
        margin-left: auto;
        margin-right: 0;
    }
}


label {
    margin-bottom: 10px;
}
.d-flex {
    display: flex;
    align-items: center;
}
.m-0 {
    margin: 0 !important;
}
.ms-auto {
    margin-left: auto !important;
}
a {
    color: #61aadd;
}
.small {
    font-size: 0.7em;
}
button, .button {
    background-color: #5fabde;
    border-radius: 5px;
    border: none;
    width: 100%;
    height: 35px;
    color: white;
    font-size: 1em;
    margin-top: auto;
    margin-bottom: 30px;
    cursor: pointer;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
button:hover, .button:hover {
    background-color: #509bec;
    border-color: #3595d5;
}
.login-card-right-footer {
    font-size: 0.7em;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}
.secret-form {
    display: none;
}
.display-secret .secret-form {
    display: block;
}
.login-form {
    display: none;
}
.display-login .login-form {
    display: block;
}
.reset-password-form {
    display: none;
}
.display-reset-password .reset-password-form {
    display: block;
}
.confirm-password-form {
    display: none;
}
.display-confirm-password .confirm-password-form {
    display: block;
}
.fw-bold {
    font-weight: bold;
}
.btn-link {
    color: #5fabde;
    border: none;
    background: none;
    text-decoration: underline;
    margin: 0;
    outline: none !important;
}
.btn-link:hover {
    color: #5fabde;
    border: none;
    background: none;
    text-decoration: underline;
    margin: 0;
}
.reset-password-actions {
    display: flex;
    justify-content: space-between;
}
.reset-password-actions button {
    width: auto;
    min-width: 30%;
}
.to-confirm-password {
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.to-confirm-password p {
    margin-bottom: 0;
}
.to-confirm-password button {
    margin-right: auto;
    width: auto;
    height: 25px;
    padding-left: 0;
}
.to-confirm-password button:hover {
    margin-right: auto;
    width: auto;
    height: 25px;
    padding-left: 0;
}
