/*
 * @Author: 新西兰的肉夹馍
 * @Date: 2025-06-17 15:12:57
 * @LastEditTime: 2025-06-18 15:47:57
 * @FilePath: /jl-map/css/style.css
 * @Description: 
 * 在这个虚拟的空间里，我试图捕捉真实的自我，与世界分享。
 */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
}

#container {
    width: 100vw;
    height: calc(100vh - 200px);
    position: relative;
}

/* 场馆详情面板样式 */
.venue-panel {
    background: #fff;
    width: 600px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 18px;
    border-left: 8px solid #001f5b;
}

.venue-panel.hidden {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

.venue-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 左侧信息区域 */
.venue-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.venue-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.close-btn {
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.venue-address {
    color: #b3b3b3;
    display: flex;
}

.address-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.venue-address span {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.venue-description {
    margin-bottom: 16px;
    flex: 1;
    overflow-y: auto;
    max-height: 280px;
    padding-right: 8px;
}

/* 自定义滚动条样式 */
.venue-description::-webkit-scrollbar {
    width: 6px;
}

.venue-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.venue-description::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.venue-description::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.venue-description p {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* 标签内容区域样式 */
.tab-content-section {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tab-content-section.collapsed {
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.tab-content-section h3 {
    color: #1890ff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.tab-content-section.collapsed h3 {
    font-size: 14px;
    margin: 0 0 4px 0;
}

.tab-content-section p.truncated {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-tab-content h3 {
    color: #1890ff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

/* 底部标签按钮 */
.venue-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: auto;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #666;
}

.tab-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.tab-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
}

.tab-btn img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.tab-btn span {
    font-weight: 500;
}

/* 右侧图片区域 */
.venue-images {
    width: 250px;
    background: #f8f9fa;
    position: relative;
    display: flex;
    flex-direction: column;
}

.image-gallery {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.image-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 数据列表样式 */
#data-list {
    height: 200px;
    background: white;
    z-index: 999;
    display: flex;
}
#data-list-content {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    background: url(../img/mapbg.png) no-repeat top;
    background-size: cover;
}
.data-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 23%;
    padding: 5px 1%;
    font-size: 15px;
}

.data-item:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #1890ff;
    border-radius: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}

.data-item:hover {
    color: #f30;
}
.data-item:hover:before {
    background: #f30;
}

.data-item.selected {
    color: #f30;
}
.data-item.selected:before {
    background: #f30;
}

/* 自定义标记样式 */
.custom-marker {
    background-color: rgba(204, 78, 0, 0.7);
    height: 42px;
    width: 42px;
    border: 1px solid rgb(204, 78, 0);
    border-radius: 21px;
    box-shadow: rgb(255, 223, 204) 0px 0px 5px;
    line-height: 42px;
    color: rgb(255, 223, 204);
    font-size: 18px;
    text-align: center;
}

.custom-marker-image {
    width: 40px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.venue-panel:not(.hidden) {
    animation: fadeInUp 0.3s ease;
}





html button::-moz-focus-inner {
    border-color: transparent!important
}

button,input,optgroup,option,select,textarea {
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    border: none;
    outline: 0
}

dd,dl,dt,h1,h2,h3,h4,h5,h6,li,ol,ul {
    display: block;
    list-style: none
}

ol {
    padding-left: 30px
}

ol li {
    display: list-item;
    list-style: decimal;
    margin: 8px 0
}

em,i {
    font-style: normal
}

fieldset,img {
    border: 0
}

html {
    -webkit-text-size-adjust: none
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%
}

a,a:active,a:hover,a:link,a:visited {
    text-decoration: none;
    color: #333;
    -webkit-transition: all .5s;
    transition: all .5s
}

a:hover {
    color: #d64400
}
* {
    margin: 0;
    padding: 0;
}

.container .infoWindow {
    background: #fff;
    width: 600px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 18px;
    border-left: 8px solid #001f5b
}

.container .infoWindow .infoTop .title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px
}

.container .infoWindow .infoTop .address {
    color: #b3b3b3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.container .infoWindow .infoTop .address i {
    width: 20px;
    height: 20px;
    background: url(../img/address.png) no-repeat 50%;
    background-size: contain;
    margin-left: 8px;
}

.container .infoWindow .infoTop .jieshao {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px
}

.container .infoWindow .infoTop .jieshao .pic {
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 16px;
    border: 1px solid #f7f7f7;
    background-color: #fcfcfc;
    border-radius: 4px;
}

.container .infoWindow .infoTop .jieshao ul.txtBox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 200px;
    margin-top: 8px;
    margin-right: 20px
}

.container .infoWindow .infoTop .jieshao ul.txtBox li {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
    overflow-y: auto
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .animationPlay {
    -webkit-animation: scroll-up-data-v-eabe2bc2 10s linear infinite;
    animation: scroll-up-data-v-eabe2bc2 10s linear infinite;
    position: relative
}

.container .infoWindow .infoTop .jieshao ul.txtBox li::-webkit-scrollbar {
    width: 3px
}

.container .infoWindow .infoTop .jieshao ul.txtBox li::-webkit-scrollbar-thumb {
    background: -webkit-gradient(linear,left top,right bottom,from(#4d7fff),to(#0805bb));
    background: linear-gradient(to bottom right,#4d7fff 0,#0805bb);
    border-radius: 6px
}

.container .infoWindow .infoTop .jieshao ul.txtBox li::-webkit-scrollbar-track {
    background: #e0e0e0
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .desc {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    word-break: break-all;
    min-height: 30px
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .desc span {
    color: #001f5b;
    font-weight: 700
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .icon {
    min-width: 14px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
    margin-right: 6px
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .icon.icon1 {
    background-image: url(../img/changguan.png)
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .icon.icon2 {
    background-image: url(../img/canguan.png)
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .icon.icon3 {
    background-image: url(../img/tihui.png)
}

.container .infoWindow .infoTop .jieshao ul.txtBox li .icon.icon4 {
    background-image: url(../img/chengguo.png)
}

.container .infoWindow ul.infoBottom {
    margin-top: 14px
}

.container .infoWindow ul.infoBottom,.container .infoWindow ul.infoBottom li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.container .infoWindow ul.infoBottom li {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-right: 9px;
    padding: 8px 0;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700
}

.container .infoWindow ul.infoBottom li:hover {
    cursor: pointer;
    opacity: .8
}

.container .infoWindow ul.infoBottom li.more {
    font-size: 14px;
    color: #999;
    background: transparent;
    width: 70px;
    -webkit-box-flex: 0;
    -ms-flex: 0 auto;
    flex: 0 auto;
    font-weight: 400
}

.container .infoWindow ul.infoBottom li.more:hover {
    cursor: pointer;
    color: red
}

.container .infoWindow ul.infoBottom li.btn1 {
    background: #e2deff;
    color: #4d3dca
}

.container .infoWindow ul.infoBottom li.btn2 {
    background: #d3f3ff;
    color: #358baa
}

.container .infoWindow ul.infoBottom li.btn3 {
    background: #f3eae3;
    color: #b16c37
}

.container .infoWindow ul.infoBottom li.btn4 {
    background: #d3f4df;
    color: #32a15b
}

.container .infoWindow ul.infoBottom li.btn5 {
    background: #ffeaea;
    color: #d43d3d
}

.container .infoWindow ul.infoBottom li .icon {
    margin-right: 4px;
    font-weight: 700
}

.container .infoWindow ul.infoBottom li.btn1.active,
.container .infoWindow ul.infoBottom li.btn1:hover {
    background: #c8b7ff;
    color: #3c2cb5;
}

.container .infoWindow ul.infoBottom li.btn2.active,
.container .infoWindow ul.infoBottom li.btn2:hover {
    background: #b8e8ff;
    color: #2a7a96;
}

.container .infoWindow ul.infoBottom li.btn3.active,
.container .infoWindow ul.infoBottom li.btn3:hover {
    background: #e8d4c8;
    color: #9f5a2e;
}

.container .infoWindow ul.infoBottom li.btn4.active,
.container .infoWindow ul.infoBottom li.btn4:hover {
    background: #bef0cc;
    color: #2a8e4a;
}

.container .infoWindow ul.infoBottom li.btn5.active,
.container .infoWindow ul.infoBottom li.btn5:hover {
    background: #ffd0d0;
    color: #c23030;
}