/* ========== fwservice 服务网点查询页面样式 ========== */

.mapPage {
    display: flex;
    min-height: calc(100vh - 1.28rem);
}
.mapLeft {
    flex: 1;
    position: relative;
    background: #f0f0f0;
}
#baiduMap {
    width: 100%;
    height: 100%;
}
.mapCard {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 0.12rem;
    box-shadow: 0 0.04rem 0.2rem rgba(0,0,0,0.12);
    padding: 0.24rem 0.28rem;
    min-width: 3.60rem;
    z-index: 10;
    display: none;
}
.mapCard .mapPin {
    position: absolute;
    left: 50%;
    top: -0.58rem;
    transform: translateX(-50%);
}
.mapCard .mapPin img { width: 0.4rem; }
.mapCard h4 {
    font-size: 0.16rem;
    color: #000;
    font-weight: normal;
    font-family: 'FotonType-M';
    margin-bottom: 0.10rem;
}
.mapCard p {
    font-size: 0.13rem;
    color: #666;
    line-height: 0.26rem;
    display: flex;
    align-items: center;
}
.mapCard .icoAddr,
.mapCard .icoTel {
    display: inline-block;
    width: 0.16rem;
    height: 0.16rem;
    margin-right: 0.06rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.mapCard .icoAddr { background-image: url(../images/common/map1.png); }
.mapCard .icoTel { background-image: url(../images/common/map2.png); }
.mapCardBtns {
    display: flex;
    gap: 0.12rem;
    margin-top: 0.16rem;
}
.mapCardBtns .btn {
    flex: 1;
    text-align: center;
    line-height: 0.40rem;
    border-radius: 0.08rem;
    font-size: 0.14rem;
    font-weight: normal;
    font-family: 'FotonType-M';
    text-decoration: none;
}
.mapCardBtns .btnCall {
    border: 1px solid #ddd;
    color: #333;
    background: #fff;
}
.mapCardBtns .btnNav {
    background: #222;
    color: #fff;
}
.mapCardBtns .btnNav i {
    display: inline-block;
    width: 0.15rem;
    height: 0.15rem;
    background: url(../images/common/map5.png) no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-left: 0.04rem;
}
.mapRight {
    width: 4.20rem;
    background: #fff;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    padding: 0.30rem 0.24rem;
    height: calc(100vh - 1.28rem);
    position: sticky;
    top: 1.28rem;
}
.selectedInfo {
    margin-bottom: 0.20rem;
}
.selectedInfo h2 {
    font-size: 0.22rem;
    color: #333;
    margin-bottom: 0.08rem;
    font-weight: normal;
    font-family: 'FotonType-M';
}
.selectedInfo p {
    font-size: 0.14rem;
    color: #999;
}
.tabSwitch {
    display: flex;
    justify-content: center;
    margin-bottom: 0.16rem;
    border-bottom: 1px solid #eee;
}
.tabSwitch span {
    font-size: 0.18rem;
    color: #666;
    padding: 0.10rem 0.24rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.tabSwitch span.active {
    color: #49C6E5;
    font-weight: normal;
    font-family: 'FotonType-M';
}
.tabSwitch span.active::after {
    content: '';
    position: absolute;
    left: 0.20rem;
    right: 0.20rem;
    bottom: -0.01rem;
    height: 0.02rem;
    background: #49C6E5;
}
.filterRow {
    display: flex;
    gap: 0.12rem;
    margin-bottom: 0.14rem;
}
.filterRow select {
    flex: 1;
    height: 0.40rem;
    border: 1px solid #ddd;
    border-radius: 0.08rem;
    padding: 0 0.12rem;
    font-size: 0.14rem;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    background: #f8f9fa url(../images/common/xl3.png) no-repeat 92% center;
    background-size: 14px auto;
}
.searchRow {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 0.08rem;
    overflow: hidden;
    margin-bottom: 0.16rem;
}
.searchRow input {
    flex: 1;
    height: 0.40rem;
    border: none;
    padding: 0 0.12rem;
    font-size: 0.14rem;
    color: #333;
    background: #f8f9fa;
    outline: none;
}
.searchRow input::placeholder { color: #999; }
.searchRow .searchBtn {
    width: 0.40rem;
    height: 0.40rem;
    background: #f8f9fa;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.searchRow .searchBtn img { width: 0.18rem; height: 0.18rem; }
.resultTitle {
    font-size: 0.14rem;
    color: #666;
    margin-bottom: 0.12rem;
    padding-bottom: 0.12rem;
    border-bottom: 1px solid #eee;
}
.resultTitle em {
    font-style: normal;
    color: #49C6E5;
    font-weight: normal;
    font-family: 'FotonType-M';
    font-size: 0.18rem;
}
.resultList {
    flex: 1;
    overflow-y: auto;
}
.resultList::-webkit-scrollbar { width: 0.04rem; }
.resultList::-webkit-scrollbar-track { background: transparent; }
.resultList::-webkit-scrollbar-thumb { background: #ccc; border-radius: 0.02rem; }
.resultList::-webkit-scrollbar-thumb:hover { background: #aaa; }
.resultItem {
    background: #f8f9fa;
    border-radius: 0.08rem;
    padding: 0.16rem;
    margin-bottom: 0.12rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 0.03rem solid transparent;
}
.resultItem:hover {
    background: #eef9fc;
    box-shadow: 0 0.02rem 0.08rem rgba(73,198,229,0.15);
}
.resultItem.active {
    background: #eef9fc;
    border-left-color: #49C6E5;
}
.resultItem h4 {
    font-size: 0.15rem;
    color: #333;
    margin-bottom: 0.06rem;
    font-weight: normal;
    font-family: 'FotonType-M';
}
.resultItem .tag {
    display: inline-block;
    font-size: 0.12rem;
    color: #fff;
    background: #49C6E5;
    padding: 0.02rem 0.08rem;
    border-radius: 0.03rem;
    margin-bottom: 0.08rem;
}
.resultItem .tag.parts {
    background: #ff9800;
}
.resultItem p {
    font-size: 0.13rem;
    color: #666;
    line-height: 0.22rem;
}
.resultItem p .icoAddr,
.resultItem p .icoTel {
    display: inline-block;
    width: 0.14rem;
    height: 0.14rem;
    margin-right: 0.04rem;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.resultItem p .icoAddr { background-image: url(../images/common/map1.png); }
.resultItem p .icoTel { background-image: url(../images/common/map2.png); }
.emptyTip {
    text-align: center;
    color: #ccc;
    font-size: 0.14rem;
    margin-top: 0.60rem;
}

/* ========== 百度地图信息窗样式 ========== */
.infoWin {
    padding: 0 0.28rem 0.24rem;
    background: #fff;
    border-radius: 0.12rem;
    box-shadow: 0 0.04rem 0.2rem rgba(0,0,0,0.12);
    font-size: 0.13rem;
    color: #666;
    line-height: 0.26rem;
}
.infoWin h4 {
    margin: 0 0 0.10rem;
    font-size: 0.16rem;
    color: #000;
    font-weight: normal;
    font-family: 'FotonType-M';
}
.infoWin p {
    margin: 0;
    display: flex;
    padding-left: .26rem;
    position: relative;
}
.infoWin .icoAddr,
.infoWin .icoTel {
    display: inline-block;
    width: 0.16rem;
    height: 0.16rem;
    margin-right: 0.06rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 0.04rem;
    position: absolute;
    left: 0;
    top: 0;
}
.infoWin .icoAddr { background-image: url(../images/common/map1.png); }
.infoWin .icoTel { background-image: url(../images/common/map2.png); }
.infoWin .btns {
    display: flex;
    gap: 0.12rem;
    margin-top: 0.16rem;
}
.infoWin .btnCall,
.infoWin .btnNav {
    flex: 1;
    text-align: center;
    line-height: 0.40rem;
    border-radius: 0.08rem;
    font-size: 0.14rem;
    font-weight: normal;
    font-family: 'FotonType-M';
    text-decoration: none;
    border: 1px solid #222;
}
.infoWin .btnCall {
    border-color: #ddd;
    color: #333;
    background: #fff;
}
.infoWin .btnNav {
    background: #222;
    color: #fff;
}
.infoWin .btnNav i {
    display: inline-block;
    width: 0.15rem;
    height: 0.15rem;
    background: url(../images/common/map5.png) no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-left: 0.04rem;
}
/* ========== 响应式 ========== */
@media screen and (max-width: 992px) {
    .mapPage { flex-direction: column; }
    .mapLeft { height: 50vh; }
    .mapRight { width: 100%; height: 50vh; }
    .mapCard { min-width: 2.8rem; }
    .selectedInfo h2 { font-size: 0.18rem; }
    .tabSwitch span { font-size: 0.16rem; padding: 0.08rem 0.18rem; }
}
@media screen and (max-width: 768px) {
    .mapLeft { height: 40vh; }
    .mapRight { height: 60vh; padding: 0.2rem 0.16rem; }
    .mapCard { min-width: 2.2rem; padding: 0.16rem 0.2rem; }
    .mapCard h4 { font-size: 0.14rem; }
    .mapCard p { font-size: 0.12rem; line-height: 0.22rem; }
    .queryTitle { font-size: 0.2rem; }
    .selectedInfo h2 { font-size: 0.16rem; }
    .tabSwitch span { font-size: 0.14rem; padding: 0.08rem 0.14rem; }
    .resultItem h4 { font-size: 0.15rem; }
    .resultItem p { font-size: 0.13rem; }
}
