/* 通用样式 */
body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #40a9ff;
}

/* 消息样式 */
.error {
    color: #f5222d;
    margin-bottom: 16px;
    padding: 10px;
    background-color: #fff1f0;
    border: 1px solid #ffccc7;
    border-radius: 4px;
}

.success {
    color: #52c41a;
    margin-bottom: 16px;
    padding: 10px;
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 4px;
}

/* 用户信息栏 */
.user-info {
    text-align: right;
    margin-bottom: 20px;
}

.user-info a {
    color: #1890ff;
    text-decoration: none;
    margin-left: 10px;
}

.user-info a:hover {
    text-decoration: underline;
}