* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #FDF5E6, #F5EEE6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 420px;
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #B0C4DE;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(135, 206, 235, 0.3);
}

.login-title {
    text-align: center;
    font-size: 24px;
    color: #5A9BC4;
    margin-bottom: 35px;
    letter-spacing: 2px;
}

.login-title small {
    display: block;
    font-size: 14px;
    margin-top: 8px;
    color: #7EC8E3;
    font-weight: normal;
}

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    color: #5A6B7D;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    background: rgba(245, 250, 255, 0.8);
    border: 1px solid #B0C4DE;
    border-radius: 6px;
    color: #333;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #7EC8E3;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.4);
}

.input-group input::placeholder {
    color: #9BB8C9;
}

.login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.remember {
    color: #6B7B8A;
    cursor: pointer;
}

.forget-pwd {
    color: #5A9BC4;
    cursor: pointer;
}

.forget-pwd:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, #7EC8E3, #5A9BC4);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    box-shadow: 0 0 18px rgba(135, 206, 235, 0.5);
}

.error-tip {
    color: #E74C3C;
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
    display: none;
}

.switch-page {
    text-align: center;
    margin-top: 20px;
    color: #5A9BC4;
    cursor: pointer;
}

.switch-page:hover {
    text-decoration: underline;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    width: 380px;
    padding: 30px;
    background: #FDF5E6;
    border: 1px solid #B0C4DE;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(135, 206, 235, 0.3);
}

.modal-title {
    font-size: 18px;
    color: #5A9BC4;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.modal-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    background: rgba(245, 250, 255, 0.8);
    border: 1px solid #B0C4DE;
    border-radius: 6px;
    color: #333;
    font-size: 15px;
    outline: none;
    margin-bottom: 16px;
}

.modal-input:focus {
    border-color: #7EC8E3;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.4);
}

.modal-tip {
    color: #5A6B7D;
    font-size: 12px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, #7EC8E3, #5A9BC4);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
}

.modal-cancel {
    display: block;
    text-align: center;
    color: #5A9BC4;
    cursor: pointer;
    font-size: 14px;
}

.modal-cancel:hover {
    text-decoration: underline;
}

.modal-success {
    color: #27AE60;
    font-size: 13px;
    text-align: center;
    margin-bottom: 12px;
    display: none;
}

.modal-error {
    color: #E74C3C;
    font-size: 13px;
    text-align: center;
    margin-bottom: 12px;
    display: none;
}