/* 物流运输地图样式 */
.yunshu-map-container {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    position: relative;
}
.yunshu-map-container h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 5px;
    border-left: 4px solid #0099ff;
}

/* 美化公路主体 */
.map-road-bg {
    position: relative;
    width: 100%;
    height: 80px;
    background: #666;
    background-image: linear-gradient(to bottom, #444 0%, #666 50%, #444 100%);
    border-radius: 10px;
    margin: 40px 0 20px;
    overflow: visible !important;
}

/* 公路中间动态白色虚线 —— 反向移动 */
.map-road-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: repeating-linear-gradient(
        to right,
        #fff 0%,
        #fff 20px,
        transparent 20px,
        transparent 30px
    );
    animation: lineMove 3s linear infinite;
}
@keyframes lineMove {
    0%  { background-position: 60px 0; }
    100%{ background-position: 0 0; }
}

/* 左侧一排房子 + 小树 */
.map-road-bg::before {
    content: '🏠 ⛽ 🏠 🌳 🖥️ 🏠 🌳 ⛽ 🏠 🖥️ 🌳 🏠   ';
    position: absolute;
    top: -6px;
    left: 5%;
    font-size: 16px;
    letter-spacing: 12px;
    z-index: 1;
}

/* 右侧一排小树 + 房子 */
.map-road-bg::after {
    content: '🏠 🌳 🏠 ⛽ 🏠 🌳 🖥️ 🌳 🏠  🌳 ⛽  ';
    position: absolute;
    bottom: -30px;
    right: 5%;
    font-size: 16px;
    letter-spacing: 12px;
    z-index: 1;
}

/* 运输车辆 */
.car-move {
    position: absolute;
    top: 20px;
    left: -80px;
    width: 60px;
    height: 40px;
    background: #0066cc;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
    overflow: visible !important;
}
.car-move::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    bottom: -6px;
    left: 10px;
}
.car-move::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    bottom: -6px;
    right: 10px;
}

/* 车辆行驶动画 */
@keyframes carRun {
    0% { left: -80px; }
    100% { left: 100%; }
}

/* 车辆信息提示框 */
.car-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid #0099ff;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,153,255,0.2);
    font-size: 12px;
    line-height: 1.6;
    display: none;
    z-index: 9999;
    pointer-events: none;
}
.car-move:hover .car-tooltip {
    display: block !important;
}

/* 运输信息文字 */
.yunshu-info {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
.yunshu-info p {
    margin: 4px 0;
}
.yunshu-info span {
    color: #0066cc;
    font-weight: bold;
}