body {
    background: #eff5f5;
}

#server_name {
    width: 140px;
    margin: 20px;
    float: right;
    border: 1px solid rgba(80, 185, 136, 0.65);
    background: rgb(63, 196, 183);
    color: rgb(255, 255, 255);
    box-shadow: inset 0px 14px 17px rgba(234, 234, 234, 0.21);
    cursor: pointer;
    visibility: hidden;
}

#server_name option {
    color: rgb(255, 255, 255);
    background: rgb(63, 196, 183);
}

.error-block {
    position: absolute;
    top: -60px;
}

.error-block h4 {
    font-size: 18px !important;
}

.panel-heading {
    text-align: left;
    margin-top: 15px;
}

.login-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
    box-sizing: border-box;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.login-block {
    padding: 15px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
    background: #fff;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    width: 100%;
    max-width: 450px;
    height: auto;
    min-height: 370px;
    flex-shrink: 0;
}

.login-to {
    float: right;
    font-size: 17px;
    color: #7d7d7d;
}

.login-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 25px;
    transition: background 0.5s;
    margin-top: 20px;
    border: 2px solid #fff;
    color: #fff;
    outline: none !important;
    width: 100%;
    cursor: pointer;
    background: #40c3b7;
}

.login-btn:hover {
    background: #1dc8cd;
    border: 2px solid #1dc8cd;
}

.login-btn:disabled,
.login-btn.is-loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

.login-btn .btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -3px;
    animation: login-btn-spin 0.7s linear infinite;
}

@keyframes login-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

input {
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 450px) {
    .login-block {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {

    html,
    body {
        height: 100%;
        overflow: hidden;
    }
}

.toggle-password {
    position: relative;
    /* top: 167px; */
    width: 50px;
    height: 40px;
    line-height: 38px;
    /* left: 0; */
    z-index: 999;
    /* font-size: 20px; */
    float: right;
    bottom: 41px;
    font-size: 13px;
    color: #64ad81;
    font-weight: 600;
    cursor: pointer;
}

.toggle-password:hover {
    color: #538c8e;
}

.text-position {
    color: #68c98e;
    position: relative;
    top: -55px !important;
    float: left;
    font-weight: bold;
    left: 10px;
    background-color: #fff;
    padding: 0 3px;
}

#login,
#password {
    border-color: #68c98e !important;
    border: 2px solid;
    border-radius: 4px !important;
    height: 42px !important;
    padding-top: 10px;
    padding-right: 53px;
}

.otp-inputs {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
}

.otp-digit {
    width: 42px;
    height: 46px;
    border: 2px solid #68c98e !important;
    border-radius: 4px !important;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    box-shadow: none !important;
}

.otp-digit:focus {
    outline: none;
    border-color: #40c3b7 !important;
}

.otp-label {
    color: #68c98e;
    font-weight: bold;
    text-align: left;
    margin-top: 20px;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    opacity: 1;
    transform: scale(0.85) translateY(-17px) translateX(.15rem);
    background-color: #fff;
    margin-top: 13px;
    padding: 0px 5px !important;
    height: 20px;
    margin-left: 10px;
}

.checkbox {
    margin-top: 15px;
    position: absolute;
}

.userRegister {
    margin-top: 50px;
    display: flex;
}

.step-hidden {
    display: none !important;
}

.panel-heading {
    position: relative;
}

.top-right-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-right-actions .btn {
    padding: 4px 10px;
    font-size: 12px;
}

.otp-resend-link {
    background: none;
    border: none;
    color: #7d7d7d;
    font-size: 13px;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

.otp-resend-link:hover:not(:disabled) {
    color: #40c3b7;
}

.otp-resend-link:disabled,
.otp-resend-link[disabled] {
    color: #b0b0b0;
    cursor: not-allowed;
    text-decoration: none;
}

.otp-resend-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    margin-bottom: 8px;
}