/* 头部背景颜色 */
.header_style {
    background-color: #d0e4fe;
    padding: 10px;
    width: 100%;
}

#header-section {
    max-width: 76%;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

.content-section {
    padding: 30px;
    text-align: left;
}

#APP_name {
    font-size: 32px;
    padding-left: 0px;
}

#app_paragraph {
    line-height: 1.5;
    margin-right: 5%;
    height: auto;
    font-size: 19px;
}

#app_img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

#dataForm {
    border: 2px dashed gray;
    border-radius: 10px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1270px;
}

/* 结果容器，确保内容居中 */
.results-container {
    text-align: center;
    margin-top: 20px;
}

/* 让表格居中显示 */
.results-table {
    width: 40%;
    /* 改成40%，让表格更窄 */
    max-width: 600px;
    /* 调整表格宽度 */
    margin: 0 auto;
    /* 水平居中 */
    border-collapse: collapse;
}

/* 让表头更醒目 */
.results-table th {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 10px;
}

/* 让表格内容居中 */
.results-table td {
    text-align: center;
    padding: 8px;
    border: 1px solid #dee2e6;
}

/* 响应式支持，确保小屏幕设备适配 */
@media (max-width: 600px) {
    .results-table {
        width: 60%;
    }
}

/* 导航栏颜色 */
.navbg {
    background-color: #157fc9 !important;
}

.contact {
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    background-color: white;
    padding: 5px 30px;
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 300px;
    background-color: #157fc9;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* 导航按钮 */
.sidebar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 20px 0;
    transition: background 0.3s;
    position: relative;
    word-wrap: break-word;
    text-align: center;
}

/* 鼠标悬停效果 */
.sidebar a:hover {
    background-color: #d0e4fe;
    width: 120px;
}

/* 提示文字 */
.sidebar a span {
    position: absolute;
    left: 70px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    display: none;
}

/* 悬停时显示文字 */
.sidebar a:hover span {
    display: block;
}

.content {
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px 0px;
    /* 增加左右边距 */
    /* max-width: 900px; */
    /* 限制最大宽度，使内容不显得过于宽 */
}

.content p {
    margin-bottom: 20px;
    /* 段落之间增加间距 */
    line-height: 1.6;
    /* 提高可读性 */
    font-size: 16px;
}