/* ========== 环保信息公开页面 ========== */

/* Banner */
.hbBanner {
    width: 100%;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hbBanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hbBannerContent {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hbBannerContent h1 {
    font-size: 0.48rem;
    letter-spacing: 0.06rem;
    margin-bottom: 0.16rem;
    font-weight: normal;
    font-family: 'FotonType-M';
}

.hbBannerContent span {
    font-size: 0.18rem;
    letter-spacing: 0.04rem;
    opacity: 0.8;
}

.hbWrap {
    max-width: 14rem;
    width: 90%;
    margin: 0.40rem auto 0.80rem;
}

/* Tab栏 */
.hbTabBar {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 0.30rem;
}

.hbTabItem {
    font-size: 0.18rem;
    color: #666;
    padding: 0.14rem 0.32rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

.hbTabItem:hover {
    color: #333;
}

.hbTabItem.active {
    color: #49C6E5;
    font-weight: normal;
    font-family: 'FotonType-M';
}

.hbTabItem.active::after {
    content: '';
    position: absolute;
    bottom: -0.02rem;
    left: 0;
    width: 100%;
    height: 0.03rem;
    background: #49C6E5;
    border-radius: 0.02rem;
}

/* Tab面板 */
.hbPanel {
    display: none;
    min-height: 5rem;
}

.hbPanel.active {
    display: block;
}

/* 搜索框 */
.hbSearchBar {
    display: flex;
    align-items: center;
    margin-bottom: 0.24rem;
    gap: 0.12rem;
}

.hbSearchBar input {
    flex: 1;
    max-width: 4rem;
    height: 0.42rem;
    border: 1px solid #ddd;
    border-radius: 0.06rem;
    padding: 0 0.16rem;
    font-size: 0.14rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.hbSearchBar input:focus {
    border-color: #49C6E5;
    outline: none;
}

.hbSearchBar input::placeholder {
    color: #bbb;
}

.hbSearchBtn {
    height: 0.42rem;
    padding: 0 0.24rem;
    background: #49C6E5;
    color: #fff;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.14rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hbSearchBtn:hover {
    background: #36a8c4;
}

/* 文件列表 */
.hbFileList {
    list-style: none;
    padding: 0;
    margin-bottom: .6rem;
}

.hbFileItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.18rem 0.20rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s ease;
}

.hbFileItem:hover {
    background: #fafcfd;
}

.hbFileInfo {
    display: flex;
    align-items: center;
    gap: 0.14rem;
    flex: 1;
    min-width: 0;
}

.hbFileIcon {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 0.06rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.12rem;
    font-weight: normal;
    font-family: 'FotonType-M';
    color: #fff;
}

.hbFileIcon.pdf {
    background: #e74c3c;
}

.hbFileIcon.word {
    background: #2b7cd0;
}

.hbFileName {
    font-size: 0.15rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.hbFileDate {
    font-size: 0.13rem;
    color: #666;
    flex-shrink: 0;
    margin-left: 0.20rem;
}

.hbFileDownload {
    display: inline-flex;
    align-items: center;
    gap: 0.04rem;
    font-size: 0.13rem;
    color: #49C6E5;
    margin-left: 0.24rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.hbFileDownload:hover {
    color: #2a9ab5;
}

/* VIN查询面板 */
.hbVinPanel {
    max-width: 100%;
    padding: 0.40rem 0;
}

.hbVinTitle {
    font-size: 0.22rem;
    color: #222;
    text-align: center;
    margin-bottom: 0.12rem;
}

.hbVinDesc {
    font-size: 0.14rem;
    color: #666;
    text-align: center;
    margin-bottom: 0.36rem;
}

.hbVinInputWrap {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    max-width: 5.60rem;
    margin: 0 auto 0.16rem;
}

.hbVinInputWrap input {
    flex: 1;
    height: 0.50rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.08rem;
    padding: 0 0.20rem;
    font-size: 0.16rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.hbVinInputWrap input:focus {
    border-color: #49C6E5;
    outline: none;
}

.hbVinInputWrap input::placeholder {
    color: #bbb;
}

.hbVinBtn {
    height: 0.50rem;
    padding: 0 0.32rem;
    background: #49C6E5;
    color: #fff;
    border: none;
    border-radius: 0.08rem;
    font-size: 0.16rem;
    font-weight: normal;
    font-family: 'FotonType-M';
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.hbVinBtn:hover {
    background: #36a8c4;
}

.hbVinTip {
    font-size: 0.13rem;
    color: #999;
    margin-top: 0.12rem;
    text-align: center;
}

/* 查询结果区 */
.hbVinResult {
    margin-top: 0.40rem;
    text-align: left;
    display: none;
}

.hbVinResult.show {
    display: block;
}

.hbResultTitle {
    font-size: 0.16rem;
    color: #333;
    margin-bottom: 0.16rem;
    padding-bottom: 0.12rem;
    border-bottom: 1px solid #f0f0f0;
}

/* 分页 */
.hbPagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    margin-top: 0.40rem;
}

.hbPageBtn {
    min-width: 0.36rem;
    height: 0.36rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 0.06rem;
    font-size: 0.14rem;
    color: #666;
    cursor: pointer;
    padding: 0 0.10rem;
    transition: all 0.2s ease;
}

.hbPageBtn:hover {
    border-color: #49C6E5;
    color: #49C6E5;
}

.hbPageBtn.active {
    background: #49C6E5;
    border-color: #49C6E5;
    color: #fff;
}

/* 空状态 */
.hbEmpty {
    text-align: center;
    padding: 0.60rem 0;
    color: #999;
    font-size: 0.15rem;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1600px) {
    .hbBannerContent h1 { font-size: 0.44rem; }
    .hbSectionTitle h2 { font-size: 0.30rem; }
}
@media screen and (max-width: 1440px) {
    .hbBannerContent h1 { font-size: 0.42rem; }
    .hbSectionTitle h2 { font-size: 0.28rem; }
    .hbTabItem { font-size: 0.16rem; padding: 0.12rem 0.24rem; }
    .hbFileName { font-size: 0.14rem; }
    .hbVinTitle { font-size: 0.20rem; }
}
@media screen and (max-width: 1366px) {
    .hbBannerContent h1 { font-size: 0.40rem; }
    .hbBannerContent span { font-size: 0.16rem; }
    .hbTabItem { font-size: 0.15rem; padding: 0.11rem 0.20rem; }
    .hbFileName { font-size: 0.13rem; }
    .hbVinTitle { font-size: 0.18rem; }
}
@media screen and (max-width: 992px) {
    .hbBanner { height: 4rem; }
    .hbBannerContent h1 { font-size: 0.36rem; }
    .hbBannerContent span { font-size: 0.15rem; }
    .hbTabItem { font-size: 0.15rem; padding: 0.12rem 0.20rem; }
    .hbWrap { width: 92%; }
}
@media screen and (max-width: 768px) {
    .hbBanner { height: 3rem; }
    .hbBannerContent h1 { font-size: 0.28rem; letter-spacing: 0.03rem; }
    .hbBannerContent span { font-size: 0.13rem; letter-spacing: 0.02rem; }
    .hbTabBar { flex-wrap: wrap; }
    .hbTabItem { font-size: 0.14rem; padding: 0.10rem 0.14rem; }
    .hbWrap { width: 94%; margin: 0.20rem auto 0.40rem; }
    .hbSearchBar { flex-direction: column; }
    .hbSearchBar input { width: 100%; }
}
