/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

body {
    margin: 0 auto;
}

a {
    text-decoration: none;
}

/* 页头容器 */
.header-container {
    position: relative;
    background: url('/cszdtext/lib/index/images/bgimg.png') no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    opacity: 1;
    /* 米黄色背景 */
    padding: 0 50px;
    width: 100% !important;
    height: 480px !important;
    z-index: 0 !important;
    top: 0;
    left: 0;
}

/* 顶部信息栏 */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* 固定高度 */
}

/* 左侧logo区域 */
.logo-box {
    display: flex;
    align-items: center;
    width: 33%;
}



.logo-text {
    line-height: 1.3;
}

.company-name {
    font-size: 20px;
    color: #005ea6;
    /* 主色调蓝色 */
    font-weight: bold;
}

.english-name {
    font-size: 12px;
    color: #666;
}

   /* 右侧功能区 */
    .right-function {
        width: 100%;
        display: flex;
        gap: 25px;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
        align-items: center;
        margin-left: -25px;
    }


    /* 快捷链接 */
    .quick-links {
        display: flex;
        gap: 25px;
    }

    .quick-links a {
line-height: 2;
    height: 25px;
    padding-left: 25px;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #EEEEEE;
        color: #333;
        text-decoration: none;
        font-size: 14px;
    }

    .quick-links a:hover {
        color: #005ea6;
    }

    /* 搜索框 */
    .search-container {
        display: flex;
        align-items: center;
    }

    .search-input {
        width: 180px;
        height: 30px;
        padding: 0 10px;
        border: 1px solid #ccc;
        border-right: none;
        outline: none;
        font-size: 13px;
    }

    .search-btn {
        height: 30px;
        padding: 0 12px;
        background-color: #005ea6;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 14px;
    }

  /* 主导航栏 */
    .navbar {
        padding: 0;
    }

    .nav-list {
        display: flex;
        list-style: none;
        align-items: center;
    }

    .nav-item {
        position: relative;
    }

    .nav-link {
        display: block;
        padding: 16px 0px;
        color: #333;
        padding-left: 41px;
        text-decoration: none;
        transition: color 0.3s ease;
        position: relative;
        font-family: 'Noto Sans CJK';
        font-size: 16px;
        color: #333;
        font-weight: normal;
        font-style: normal;
    }

    .nav-link:hover {
    }

    .dropdown-menu {
        position: absolute;
        top: 113%;
        left: -3px;
        background-color: #fff;
        min-width: 150px;
        /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
        border-radius: 0 0 4px 4px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
    }

    .nav-item:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    /*         
        .dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        } */

    .dropdown-item {
        text-align: center;
        display: block;
        padding: 12px 20px;
        color: #666;
        text-decoration: none;
        transition: all 0.2s ease;
        /* border-bottom: 1px solid #f0f0f0; */
    }

    .dropdown-item:hover {
        background-color: #005AAB;
        color: #f8f9fa;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

   /* footer */
    .footer {
        margin-top: 50px;
        /* background-color: #0066cc; */
        color: #fff;
        font-size: 14px;
        padding: 20px 0;
        text-align: center;
    }

    /* 顶部链接区域 */
    .footer-nav {
        background-color: rgb(0, 90, 171);
        line-height: 4;
        font-weight: normal;
        font-style: normal;
        font-family: 'Noto Sans CJK';
    }

    .footer-nav a {
        font-weight: normal;
        font-style: normal;
        font-family: 'Noto Sans CJK';
        color: #fff;
        text-decoration: none;
        margin: 0 12px;
    }

    .footer-nav a:hover {
        text-decoration: underline;
    }

    /* 备案资质区域 */
    .footer-info {
        line-height: 25px;
        background-color: rgb(0, 90, 171);
        margin-bottom: 15px;
        font-weight: normal;
        font-style: normal;
        font-family: 'Noto Sans CJK';
    }

    .footer-info img {
        vertical-align: middle;
        margin-right: 5px;
        width: 14px;
        height: 16px;
    }

    /* 底部IPv6说明 */
    .footer-ipv6 {
        line-height: 2;
        font-weight: normal;
        font-style: normal;
        font-family: 'Noto Sans CJK';
        font-size: 12px;
        color: #999;
    }
/* 联系我们 */
.city {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.city-Y {
    width: 1200px;
    height: 600px;
    margin-top: 80px;
}

.cityson {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.cityson>li {
    width: 580px;
    height: 100%;
    border: 1px solid #eee;
    padding: 20px;
}

.cityson>li>p {
    width: 100%;
    font-size: 24px;
    color: black;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* 电话地址 */
.dian {
    width: 100%;
    height: 150px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.dian>li {
    width: 100%;
    height: 50%;
    margin-bottom: 20px;
    display: flex;
}

.dian>li>.leftimg {
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.dian>li .leftimg img {
    width: 100%;
    height: 100%;
}

.righttext {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.righttext>p {
    color: #005ea6;
    font-weight: 600;
}

.righttext>span {
    color: #666;
}

/* 地图样式（匹配CSS定义） */
.map {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

#container {
    height: 100%;
    width: 100%;
}

/* 地图上悬浮验证 */
/* 验证遮罩层（全屏覆盖地图） */
.verify {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.6);
    z-index: 50;
}

.verify-modal {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 300px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 关闭按钮 */
.verify-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
}

/* 图片 */
.verify-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    /* 改成图片 */
    background: url('https://a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png') center no-repeat;
    background-size: contain;
}
.verify-img{
    width:100px;
    height: 100px;
    background: url('/cszdtext/lib/index/images/map.png') no-repeat;
}

/* 提示文字 */
.verify-text {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

/* 滑块容器 */
.slider-container {
    width: 80%;
    height: 40px;
    background-color: #eee;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

/* 滑块轨道 */
.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #e8f5e9;
    transition: width 0.3s ease;
}

/* 滑块按钮 */
.slider-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease;
    z-index: 2;
}

.slider-btn::after {
    content: '→';
    font-size: 20px;
    color: #666;
}

/* 滑块文字 */
.slider-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 40px;
    /* 匹配滑块高度 */
    text-align: center;
    font-size: 14px;
    color: #999;
    z-index: 1;
}

/* 二维码区域 */
.verify-qrcode {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.qrcode-img {
    width: 60px;
    height: 60px;
    margin-top: 10px;
}

.qrcode-text {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* 地图原有控件样式 */
.direction-circle {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    width: 50px;
    height: 50px;
    background: #FBFBFB;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 5px;
    gap: 2px;
}

.dir-btn {
       border: none;
    background: #FCFCFC;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #c3c1c1;
    border-radius: 16px;
    transition: all 0.2s ease;
    min-width: 1px;
    min-height: 1px;
}

.dir-btn:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.dir-btn:active {
    background: #dee2e6;
    transform: scale(0.95);
}

/* 中心按钮特殊样式 */
.dir-btn[data-direction="center"] {
    background: #005ea6;
    color: white;
    grid-column: 2;
    grid-row: 2;
}

.dir-btn[data-direction="center"]:hover {
    background: #004085;
}

/* 方向按钮位置 - 使用属性选择器替代 :nth-child */
.dir-btn[data-direction="up"] {
    grid-column: 2;
    grid-row: 1;
}

.dir-btn[data-direction="left"] {
    grid-column: 1;
    grid-row: 2;
}

.dir-btn[data-direction="right"] {
    grid-column: 3;
    grid-row: 2;
}

.dir-btn[data-direction="down"] {
    grid-column: 2;
    grid-row: 3;
}

/* 删除原有的错误选择器 */
.dir-btn:nth-child(1),
.dir-btn:nth-child(2),
.dir-btn:nth-child(4),
.dir-btn:nth-child(5) {
    /* 重置所有三角形样式 */
    border: none;
    width: auto;
    height: auto;
    position: static;
}

.zoom-controls {
    position: absolute;
    top: 120px;
    left: 10px;
    z-index: 10;
    width: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.zoom-btn {
    width: 100%;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 30px;
}

.zoom-btn:first-child {
    border-bottom: 1px solid #eee;
}

.layer-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.main-layer,
.sub-layer {
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    width: 60px;
    text-align: left;
}

.main-layer {
    border-radius: 4px 4px 0 0;
}

.sub-layer {
    border-top: 1px solid #eee;
    border-radius: 0 0 4px 4px;
}

/* 拖欠民企账款线索信访 */
.santext {
    width: 1200px;
    height: 100px;
    margin: 20px auto;
    padding-left: 40px;
}

.santext>p:nth-child(1) {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.lxr {
    color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 5px;
}

.lxr span:nth-child(1) {
    letter-spacing: 0.7ex;
}

.lxr span:nth-child(2) {
    margin-right: 10px;
}

.santext>span {
    color: #000;
    font-weight: 500;
    font-size: 16px;
}

/* 官方二维码 */
.city-E {
    width: 100%;
    height: 300px;
    background-color: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-text {
    width: 700px;
    height: 220px;
    display: flex;
    justify-content: space-between;
}

.img-text>li {
    flex: 0.8;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.img-text .img {
    width: 180px;
    height: 180px;
    background-color: white;
    box-shadow: 0 0 10px 0 #ccc;
    padding: 15px;
    margin-bottom: 10px;
}

.img-text .img>img {
    width: 100%;
    height: 100%;
}

/* 表单验证 */
.container {
    width: 1200px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    font-size: 1rem;
    transition: all 0.3s;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.captcha-group {
    display: flex;
}

.captcha-input {
    flex: 1;
}

.captcha-display {
    width: 120px;
    height: 50px;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #1a2a6c;
    cursor: pointer;
    user-select: none;
    border: 2px solid #ddd;
    border-left: none;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.submit-btn {
   line-height: 0.5;
    float: right;
    width: 100px;
    height: 37px;
    padding: 14px;
    background-color: #5F9DE8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    border-top-color: #5795E0;
    border-right-color: #5795E0;
    border-bottom-color: #5795E0;
    border-left-color: #5795E0;
    background-color: #5795E0;
    background-image: none;
    background-repeat: no-repeat;
    background-position: 0 0;
    color: #F5F5F5;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.validation-error {
    color: #e74c3c;
    font-size: 0.9rem;
    display: none;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    align-items: center;
    gap: 8px;
}

.validation-error::before {
    content: "−";
    /* 减号字符 */
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    padding: 0 5px;
    margin-right: 5px;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}

.form-group input:focus,
.form-group textarea:focus {
    /* 移除原有的聚焦样式 */
    border-color: #ddd;
    /* 保持与普通状态相同的边框颜色 */
    outline: none;
    /* 移除默认的轮廓线 */
    box-shadow: none;
    /* 移除阴影效果 */
}


/* 地图方向键 */
.direction-circles {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
}

.dir-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dir-btn:hover {
    background: #f0f0f0;
}

/* 上箭头 - 指向上的直角 */
.dir-btn.up {
    width: 14px;
    height: 14px;
    border-top: 2px solid #DEDEDE;
    border-left: 2px solid #DEDEDE;
    transform: rotate(45deg);
    position: absolute;
    left: 22px;
    top: 10px;
}

/* 下箭头 - 指向下的直角 */
.dir-btn.down {
    width: 14px;
    height: 14px;
    border-bottom: 2px solid #DEDEDE;
    border-right: 2px solid #DEDEDE;
    transform: rotate(45deg);
    position: absolute;
    bottom: 10px;
    left: 22px;
}

/* 左箭头 - 指向左的直角 */
.dir-btn.left {
    width: 14px;
    height: 14px;
    border-bottom: 2px solid #DEDEDE;
    border-left: 2px solid #DEDEDE;
    transform: rotate(45deg);
    position: absolute;
    left: 7px;
    top: 25px;
}

/* 右箭头 - 指向右的直角 */
.dir-btn.right {
    width: 14px;
    height: 14px;
    border-top: 2px solid #DEDEDE;
    border-right: 2px solid #DEDEDE;
    transform: rotate(45deg);
    position: absolute;
    right: 10px;
    top: 25px;
}


/* 位置获取控件 */
.location-control {
    position: absolute;
    top: 80px;
    left: 30px;
    z-index: 10;
}

.location-btn {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 位置方块 */
.location-square {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 位置圆点 */
.location-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.location-btn:disabled {
    cursor: not-allowed;
}

.location-btn:disabled .location-square {
    border-color: #ccc;
}

.location-btn:disabled .location-dot {
    background: #ccc;
}

/* 定位提示框样式 */
#locationToast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #005ea6;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 14px;
    transition: opacity 0.3s;
}

/* 缩放按键 */
.custom-zoom-control {
    position: absolute;
    top: 110px;
    left: 25px;
    z-index: 10;
}

.zoom-control-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.zoom-btn {
    width: 30px;
    height: 30px;
    background: white;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 18px;
    font-weight: normal;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
}

.zoom-btn:last-child {
    border-bottom: none;
}

.zoom-btn:hover {
    background: #f8f8f8;
    color: #333;
}

.zoom-btn:active {
    background: #e8e8e8;
}

.zoom-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f9f9f9;
}

.zoom-slider-container {
    display: flex;
    align-items: center;
    padding: 8px 0;
    background: white;
    width: 100%;
    justify-content: center;
}

.zoom-slider-track {
    width: 4px;
    height: 80px;
    background: #e8e8e8;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.zoom-slider-fill {
    position: absolute;
    width: 100%;
    background: #4A90E2;
    border-radius: 2px;
    transition: all 0.3s ease;
    bottom: 0;
    left: 0;
}

.zoom-slider-thumb {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid #4A90E2;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.2s ease;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.zoom-slider-thumb:active {
    cursor: grabbing;
    transform: translateX(-50%) scale(1.1);
}