body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

/* Banner */
.banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.banner-img {
    width: 100%;
    height: auto;
}

/* 页面标题 */
h1 {
    text-align: center;
}

/* 选择和搜索区域 */
div {
    margin: 15px 0;
}

/* 查询结果 */
.result-container {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 15px;
    margin: 10px 0;
    background-color: #f9f9f9; /* 默认背景色 */
}

.result-container:nth-child(odd) {
    background-color: #f1f1f1; /* 交替背景色 */
}

/* 文本信息加粗并左对齐 */
.text-info p {
    font-weight: bold;
    text-align: left;
}

/* 每个字段的标签加粗，值保持普通样式 */
.text-info p span.label {
    font-weight: bold;
}

/* 字段内容跟随标签显示 */
.text-info p span.value {
    font-weight: normal;
}

/* 图片信息区域 */
.image-info {
    width: 100%;
    text-align: center;
}

/* 让图片适配屏幕大小 */
.image-info img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* 确保图片适应容器 */
}

/* 按钮样式 */
button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

/* 针对移动端的调整 */
@media (max-width: 768px) {
    .result-container {
        padding: 10px;
    }

    .banner-container {
        height: auto;
    }

    .banner-img {
        width: 100%;
        height: auto;
    }

    .text-info p {
        font-size: 14px;
    }

    .image-info img {
        max-width: 100%;
        height: auto;
    }
}
