/* =============================================
   登录弹窗 — 照搬 登录.css
   ============================================= */

.lm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center; justify-content: center;
}
.lm-overlay.visible { display: flex; }

.lm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lm-dialog {
    position: relative;
    z-index: 1;
}

.lm-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 2em 0.4em 2em;
    background-color: #171717;
    border-radius: 25px;
    transition: .4s ease-in-out;
    width: 340px;
    max-width: 90vw;
}
.lm-form:hover { transform: scale(1.05); }

.lm-heading {
    text-align: center;
    margin: 2em;
    color: rgb(255, 255, 255);
    font-size: 1.2em;
}

.lm-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.lm-input-icon {
    height: 1.3em;
    width: 1.3em;
    fill: white;
}

.lm-input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #d3d3d3;
}

.lm-btn-row {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 2.5em;
}

.lm-btn {
    padding: 0.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #252525;
    color: white;
    cursor: pointer;
}
.lm-btn:hover { background-color: black; color: white; }

.lm-btn-login { padding-left: 2em; padding-right: 2em; margin-right: 0.5em; }
.lm-btn-signup { padding-left: 2em; padding-right: 2em; }

.lm-btn-forgot {
    margin-bottom: 3em;
}
.lm-btn-forgot:hover { background-color: red; color: white; }
