#page-login {
    height: 100%;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
}

.container {
    padding: 0;
    max-width: 100%;
}

.page_content {
    min-height: auto;
}

.lemon-login-content {
    width: 29.17vw;           /* 560 / 1920 */
    height: 54.63vh;          /* 590 / 1080 */
    background: #FFFFFF;
    border-radius: 0.52vw;    /* 10 / 1920 */
    padding: 9.17vh 2.60vw 11.67vh 2.60vw;
    position: fixed;
    right: 2.60vw;
    bottom: 11.67vh;
}

.input-field {
    display: flex;
    align-items: center;
    height: 5.19vh;
    background: rgba(22, 119, 255, 0.1);
    border-radius: 0.93vh;
    padding-left: 1.07vw;
    font-size: 1.67vh;
    padding-right: 1.10vw;
}
.field-icon {
    position: relative;
}

.email-icon {
    width: 0.83vw;
    min-width: 12px;
    left: 0;
}

.for-forgot > .lemon-login-content {
    height: 46.30vh;          /* 500 / 1080 */
}

.for-forgot .email-field {
    margin-bottom: 2.78vh;
}

.login-image {
    margin: 9.0vh 0 0 5.94vw;
    width: 187px;
    height: 43px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.form-control::placeholder {
    font-size: 1.67vh;
}


.password-field > .form-control {
    padding-right: 2.60vw;
}

.page-card-actions {
    margin-top: 5.46vh;
}

.toggle-password {
    right: 1.10vw;
    top: 1.85vh;
    cursor: pointer;
}

.toggle-password > img {
    width: 0.99vw;
    display: none;
}

.toggle-password .hide-icon {
    display: block;
}

.showIcon > .show-icon {
    display: block;
}

.showIcon > .hide-icon {
    display: none;
}

.page-card-actions .btn {
    width: 100%;
    height: 5.19vh;
    background: #1677FF;
    border-radius: 0.93vh;
}

.login-title {
    width: 8.18vw;
    height: 2.87vh;
    font-family: Source Han Sans SC;
    font-weight: 500;
    font-size: 2.96vh;
    color: #000000;
    line-height: 2.41vh;
    margin-bottom: 7.41vh;
    white-space: nowrap;
}

.web-footer {
    display: none;
}

.login-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.weixin {
    color: #1677FF;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* 半透明遮罩 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.loading .text-muted {
    margin-top: 1rem;
    font-size: 1rem;
    color: #6c757d !important;
}

/* 竖屏样式 */

@media only screen and (orientation: portrait) {
    #page-login {
        background-size: cover;
    }
    .lemon-login-content {
        width: 80vw;
        height: fit-content;
        padding: 6.17vh 5.60vw 7.67vh 5.60vw;
    }
    .field-icon {
        width: 12px;
    }
    .input-field {
        padding-left: 12px;
        padding-right: 12px;
    }
    .toggle-password > img {
        width:12px;
        min-width: 12px;
    }
}

/* 手机版样式 */
@media (max-width: 767.98px) {
    #page-login {
        background-image: none;
    }
    .login-image {
        width: 121px;
        height: 101px;
        margin: 90px auto 25px auto;
        background-position: center center;
        background-size: cover;
    }
    .login-content {
        display: block !important;
        text-align: center;
        font-size: 20px;
        color: #203757;
        font-weight: bold;
    }
    .login-title {
        display: none !important;
    }
    .lemon-login-content {
        right: 10vw;
    }
    .input-field {
        background-color: transparent;
        border: 1px solid #D8DDE5;
        border-radius: 10px;
    }
    input:-webkit-autofill,
    input:-internal-autofill-selected  {
        background-color: white !important;
        box-shadow: 0 0 0px 1000px white inset !important; /* 关键：覆盖默认背景 */
        -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    }
    .form-control {
        background-color: white !important;
    }
}
