.login_main {
    margin-top: 60px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: rgba(252, 247, 247, 0.95);*/
    background-color: #f7f7f7;
}

.login_app {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    /*background-color: rgba(255, 255, 255, 0.95);*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    margin: auto;
}

.login_form {
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.login_form h2 {
    margin-bottom: 20px;
    color: #007BFF; /* 蓝色标题 */
}

.login_form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.login_form .form-group label {
    /*margin-right: 20px;*/
    white-space: nowrap;
    /*width: 100px; !* 设置固定的宽度 *!*/
    width: 30%;
    text-align: center; /* 右对齐 */
}

.login_form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    width: 70%;
}

.login_form button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007BFF; /* 蓝色按钮 */
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login_form button:hover {
    background-color: #0056b3; /* 按钮悬停时更深的蓝色 */
}

.login_form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.login_form .error {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
}

.login_form .switch-form {
    margin-top: 20px;
    color: #007BFF;
    cursor: pointer;
    font-weight: bold;
}

.login_form .get-vcode {
    margin-top: 5px;
    color: #007BFF;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    text-decoration: underline!important;
}

/*@media (max-width: 600px) {*/
/*    #login_app {*/
/*        padding: 10px;*/
/*    }*/
/*}*/

.user-main {
    /*font-family: Arial, sans-serif;*/
    background-color: #f7f7f7;
    margin-top: 60px;
    margin-bottom: 50px;
    padding: 50px 0px 50px 0px;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    /*height: 100vh;*/
}

.user-center {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: left; /* 调整为左对齐 */
}

.user-center h2 {
    margin-bottom: 20px;
    color: #007BFF; /* 蓝色标题 */
    text-align: center; /* 标题居中 */
}

.user-center .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}

.user-center .form-group label {
    /*font-weight: bold;*/
    margin-right: 5px;
    width: 30%;
    text-align: center;
}

.user-center .form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    width: 50%;
}

.user-center .form-group input[disabled] {
    background-color: #f9f9f9;
}

.user-center .form-group button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 767px) {
    .user-center .form-group button {
        padding: 10px 8px 10px 8px;
    }
}

.user-center .form-group button:hover {
    background-color: #0056b3;
}

.user-center .form-group .error {
    color: red;
    font-size: 0.8em;
    margin-left: auto;  /* 水平居中 */
    margin-right: auto; /* 水平居中 */
    margin-top: 20px;   /* 设置顶部距离 */
}

.user-center .logout-btn {
    display: flex;
    justify-content: center; /* 水平居中 */
    margin-top: 20px; /* 与上面内容保持一定间距 */
}

.user-center .logout-btn button {
    background-color: #dc3545;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.user-center .logout-btn button:hover {
    background-color: #a71d2a;
}