/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background-color: #f5f7fa;
}
header {
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0066ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
}
.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}
aside {
    width: 220px;
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    padding-top: 20px;
}
.nav-link {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    margin: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-link:hover {
    background-color: #e6f7ff;
    color: #0066ff;
}
.nav-link.active {
    background-color: #0066ff;
    color: white;
}
main {
    margin-left: 220px;
    margin-top: 60px;
    padding: 30px;
    min-height: calc(100vh - 60px);
    background-color: #ffffff;
}
.content-title {
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}
.content-paragraph {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

/* 新增：label样式 - 与p标签保持相同的上方间距 */
label {
    display: block;
    margin-top: 20px; /* 与.content-paragraph的margin-bottom保持一致 */
    font-weight: 500;
    color: #333333;
}

.common-button {
    display: block;
    width: 100%; /* 宽度跟随主界面边缘 */
    padding: 12px 20px; /* 与nav-link相同的内边距，确保高度一致 */
    background-color: #0066ff;
    color: white;
    text-decoration: none;
    border: none; /* 移除边框 */
    border-radius: 6px;
    margin-top: 5px; /* 参照nav-link的边距 */
    text-align: left; /* 设置文字左对齐 */
    transition: all 0.2s;
    font-size: 16px; /* 与nav-link保持相同字号 */
}
.common-button:hover {
    background-color: #579afe;
}

/* 新增：输入框样式 - 与common-button保持相同尺寸 */
.common-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* 新增：结果显示区域样式 */
.result-display {
    margin-top: 15px;
    padding: 12px 20px;
    font-size: 16px;
    color: #333333;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    min-height: 48px; /* 与按钮高度一致 */
    background-color: #f9f9f9;
}