/* 全局样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    padding: 10px 15px;
    flex-wrap: wrap;
    font-size: larger;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo {
    height: 50px;
    display: block;
}

.system-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#app_background {
    min-height: calc(100vh - 100px);
    background: linear-gradient(135deg, rgb(221, 221, 221), rgb(221, 221, 221));
    font-family: Arial, sans-serif;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    width: 350px;
    align-items: center;
}

.login-container h1 {
    margin-bottom: 20px;
    color: #333;
}

.input-field {
    width: 75%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px;
    height: 45px;
}

.title {
    width: 25%;
    padding: 10px;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #637485;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #a9bed5;
}

/* 错误信息 */
.error-message {
    color: red;
    margin-top: 10px;
}

.change-password-container {
    background: white;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    margin: auto;
    padding: 20px;
    width: 350px;
    text-align: center;
}

.title-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
}

.form-box {
    display: flex;
    flex-direction: column;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 500px) {

    .login-container,
    .change-password-container {
        width: 97%;
        padding: 15px;
        margin-bottom: 60px;
    }

    .change-password-container h1 {
        font-size: 20px;
    }

    .input-field {
        width: 100%;
    }

    .title-group {
        flex-direction: column;
        align-items: flex-start;
        height: 61px;
    }

    .title {
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .login-btn {
        width: 100%;
        padding: 5px;
        border: none;
        border-radius: 5px;
        background: #637485;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s;
    }

}