html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.login-flow {
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transition-duration: 0.25s;
    transition-property: height;
    position: relative;
}

.login-page {
    width: 100%;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transition-duration: 0.25s;
    transition-property: left;
}

.login-image {
    max-width: 200px;
    max-height: 50px;
    width: auto;
    height: auto;
}

.btn {
    min-width: 108px;
}

.page-slider {
    width: 100%;
    height: 100%;
}

.pincode {
    display: flex;
    position: relative;
    user-select: none;
    cursor: text;
}

.pincode input[type="text"] {
    position: absolute;
    background-color: transparent;
    width: 17.5em;
    display: block;
    height: 100%;
    padding-left: 1em;
    letter-spacing: 2.45em;
    border: none;
    pointer-events: none;
}

.pincode input[type="text"]:focus {
    outline: none;
}

.pincode .form-control {
    width: 2.5em;
    display: inline-block;
    user-select: none;
}

.pincode .form-control:not(:last-child) {
    margin-right: 0.5em;
}

.pincode .form-control.focus {
    color: #212529;
    background-color: #fff;
    outline: 0;
}

.sso-separator {
    display: flex;
    color: rgba(0, 0, 0, 0.66);
    gap: 8px;
    font-size: 12px;
    align-items: center;
}

.sso-separator:before,
.sso-separator:after {
    flex-grow: 1;
    display: block;
    content: '';
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#changeAccount {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.was-validated #current-password.form-control:invalid,
.was-validated #current-password.form-control:valid {
    background-image: none;
}

.password-input {
    position: relative;
}

.password-input .form-control {
    padding-right: 40px;
}

.show-password {
    position: absolute;
    right: 4px;
    top: 5px;
    stroke-width: 2px;
    min-width: 0;
    background-color: transparent;
    border: none;
}

.show-password:focus {
    box-shadow: none !important;
}

.show-password:hover {
    cursor: pointer;
}

.show-password svg:hover {
    fill: #212529;
}

.show-password.is-hidden svg:last-child,
.show-password.is-visible svg:first-child
{
    display: block;
}

.show-password.is-hidden svg:first-child,
.show-password.is-visible svg:last-child {
    display: none;
}

.password-feedback {
    margin-top: 1em;
}

.password-feedback .feedback {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.password-feedback .feedback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-feedback .feedback .feedback-icon svg {
    fill: rgb(0 0 0 / 66%);
    color: #fff;
}

.password-feedback .feedback.is-warning .feedback-icon svg {
    fill: #ffa000;
    color: #212529;
}

.password-feedback .feedback .feedback-icon svg:last-child:not(:first-child) {
    display: none;
}

.password-feedback .feedback.is-valid .feedback-icon svg:first-child {
    display: none;
}

.password-feedback .feedback.is-valid .feedback-icon svg:last-child {
    display: block;
    fill: #198754;
}

.remove-device {
    min-width: 0;
    padding: 2px 8px;
}

@media (min-width: 620px) {
    .login-flow {
        border: 1px solid rgba(0,0,0,.125);
        border-radius: .25em;
        max-width: 440px;
        height: auto;
    }
}