        :root {
            --theme-color: #2ecc71; /* Green theme */
        }

        /* Toggle Switch Styling */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--theme-color);
        }

        input:focus + .slider {
            box-shadow: 0 0 1px var(--theme-color);
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        /* Banner Management Styles */
        .banner-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .banner-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
        }

        .banner-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .banner-img-wrapper {
            position: relative;
            width: 100%;
            height: 160px;
            overflow: hidden;
        }

        .banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .banner-card:hover .banner-img {
            transform: scale(1.05);
        }

        .banner-status-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }

        .status-active {
            background: rgba(46, 204, 113, 0.9);
            color: white;
        }

        .status-inactive {
            background: rgba(149, 165, 166, 0.9);
            color: white;
        }

        .banner-info {
            padding: 15px;
        }

        .banner-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .banner-meta {
            font-size: 13px;
            color: #7f8c8d;
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
        }

        .banner-actions {
            display: flex;
            gap: 10px;
            border-top: 1px solid #eee;
            padding-top: 12px;
        }

        .action-btn {
            flex: 1;
            padding: 8px 0;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .btn-edit {
            background: #eef2f7;
            color: #3498db;
        }
        .btn-edit:hover { background: #dcebf7; }

        .btn-delete {
            background: #fff0f0;
            color: #e74c3c;
        }
        .btn-delete:hover { background: #fadbd8; }

        .btn-toggle {
            background: #f0f9eb;
            color: #27ae60;
        }
        .btn-toggle:hover { background: #dff0d8; }
        
        /* Add Banner Button */
        .add-banner-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 2px dashed #dce4ec;
            background: #f9fbfd;
            cursor: pointer;
            min-height: 280px;
        }

        .add-banner-card:hover {
            border-color: var(--theme-color);
            background: #f0fcf5;
        }

        .add-icon {
            font-size: 40px;
            color: #bdc3c7;
            margin-bottom: 10px;
        }

        .add-text {
            color: #7f8c8d;
            font-weight: 500;
        }

        /* Submenu Styles */
        .menu-category {
            padding: 15px 25px;
            cursor: pointer;
            color: #ecf0f1;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 3px solid transparent;
            user-select: none;
        }
        .menu-category:hover {
            background-color: #34495e;
        }
        .menu-category i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        .submenu {
            display: none;
            background-color: #1a252f;
        }
        .submenu.open {
            display: block;
        }
        .submenu .menu-item {
            padding-left: 50px;
            font-size: 14px;
        }
        .category-arrow {
            display: none;
            font-size: 12px;
            transition: transform 0.3s;
        }
        .menu-category.active .category-arrow {
            transform: rotate(180deg);
        }

        /* Lightbox Modal Styles */
    #image-preview-modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.85);
        justify-content: center;
        align-items: center;
    }
    
    #image-preview-modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 4px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }
    
    #image-preview-modal .close-preview {
        position: absolute;
        top: 20px;
        right: 30px;
        color: white;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }
    
    #image-preview-modal .close-preview:hover {
        color: #bbb;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

        body {
            /* 调整整体页面字体，兼容多平台中文显示 */
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f5f5;
        }

        /* 顶栏样式 */
        .top-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: var(--theme-color);
            color: white;
            display: flex;
            align-items: center;
            padding: 0 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1002;
            transition: background-color 0.3s ease;
        }

        .header-menu-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 18px;
            margin-right: 15px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }

        .header-menu-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.05);
        }

        .header-title {
            font-size: 20px;
             color: white;
            font-weight: 600;
            margin: 0;
        }

        .header-subtitle {
            font-size: 14px;
            opacity: 0.8;
            margin-left: 15px;
        }

        .container {
            display: flex;
            height: 100vh;
            padding-top: 60px;
        }

        /* 侧边菜单 */
        .sidebar {
            width: 250px;
            background-color: #2c3e50;
            color: white;
            padding: 20px 0;
            box-shadow: 2px 0 5px rgba(0,0,0,0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 1000;
            height: calc(100vh - 60px);
            overflow-y: auto; /* 允许侧边栏滚动 */
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }
        
        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.2);
            border-radius: 3px;
        }

        .sidebar.collapsed {
            transform: translateX(-250px);
            opacity: 0;
        }

        /* 移除旧的菜单切换按钮样式 */
        .menu-toggle {
            display: none;
        }

        .sidebar h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #ecf0f1;
            font-size: 20px;
        }

        /* Modified Menu Items */
        .menu-category {
            padding: 15px 15px; /* Reduced left padding */
            cursor: pointer;
            color: #ecf0f1;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 3px solid transparent;
            user-select: none;
        }
        .menu-category:hover {
            background-color: #34495e;
        }
        .menu-category i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        .submenu {
            display: none;
            background-color: #1a252f;
        }
        .submenu.open {
            display: block;
        }
        .submenu .menu-item {
            padding-left: 45px; /* Adjusted indentation */
            padding-right: 15px;
            font-size: 14px;
            color: #bdc3c7; /* Softer color for submenu items */
        }
        
        /* Remove icon from submenu items logic is handled in HTML structure, 
           but CSS can hide them if they exist */
        .submenu .menu-item i {
            display: none !important;
        }

        .category-arrow {
            display: none;
            font-size: 12px;
            transition: transform 0.3s;
        }
        .menu-category.active .category-arrow {
            transform: rotate(180deg);
        }

        .menu-item {
            padding: 12px 15px; /* Consistent padding */
            cursor: pointer;
            transition: background-color 0.3s;
            border-left: 3px solid transparent;
        }

        .menu-item:hover {
            background-color: #34495e; /* Consistent hover color */
            color: white; /* Ensure text becomes white on hover */
        }

        .menu-item.active {
            background-color: var(--theme-color);
            color: white;
            border-left-color: rgba(255,255,255,0.3);
        }

        /* 主题颜色选择器样式 */
        .theme-picker {
            margin-left: auto;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .color-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid rgba(255,255,255,0.4);
            transition: all 0.2s;
            position: relative;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .color-btn:hover {
            transform: scale(1.15);
            border-color: white;
        }

        .color-btn.active {
            border-color: white;
            transform: scale(1.1);
            box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
        }
        
        .color-btn.active::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
        }

        .menu-item i {
            margin-right: 10px;
            width: 20px;
            display: inline-block; /* 让宽度生效，确保图标可见 */
            text-align: center;
        }

        /* 确保侧边栏图标伪元素显示且继承正确字体与颜色 */
        .menu-item i::before {
            display: inline-block;
            font-family: "anticon" !important;
            color: #fff; /* 与侧边栏文字一致 */
            font-size: 18px;
            line-height: 1;
            vertical-align: middle;
        }

        /* 侧边栏常用图标兜底：明确伪元素内容，避免第三方样式覆盖导致不显示 */
        .icon-earth::before { content: "\e6f1"; }
        .icon-user::before { content: "\e66a"; }
        .icon-home::before { content: "\e65e"; }
        .icon-team::before { content: "\e66d"; }
        .icon-book::before { content: "\e637"; }
        .icon-solution::before { content: "\e63c"; } /* 文档图标 */
        .icon-pay-circle::before { content: "\e6b4"; } /* 支付图标 */

        /* iconfont 兜底，确保 ::before 使用正确字体并可见 */
        .anticon::before {
            font-family: "anticon" !important;
            display: inline-block;
        }

        /* 主内容区 */
        .main-content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .main-content.sidebar-collapsed {
            margin-left: -250px;
        }

        .content-body {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            min-height: 500px;
        }

        /* Ant Design 风格的状态标签 */
        .status-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            line-height: 1.5;
            text-align: center;
            white-space: nowrap;
            border: 1px solid transparent;
        }

        .status-success {
            color: #52c41a;
            background: #f6ffed;
            border-color: #b7eb8f;
        }

        .status-warning {
            color: #faad14;
            background: #fffbe6;
            border-color: #ffe58f;
        }

        .status-danger {
            color: #ff4d4f;
            background: #fff2f0;
            border-color: #ffccc7;
        }

        /* 按钮样式 */
        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
            margin-right: 10px;
            margin-bottom: 10px;
        }

        .btn-primary {
            background-color: #6c757d;
            color: white;
        }

        .btn-primary:hover {
            background-color: #5a6268;
        }

        .btn-success {
            background-color: #27ae60;
            color: white;
        }

        .btn-success:hover {
            background-color: #229954;
        }

        .btn-warning {
            background-color: #f39c12;
            color: white;
        }

        .btn-warning:hover {
            background-color: #e67e22;
        }

        .btn-danger {
            background-color: #e74c3c;
            color: white;
        }

        .btn-danger:hover {
            background-color: #c0392b;
        }

        /* 表格样式 */
        .table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .table th,
        .table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        .table th {
            background-color: #f8f9fa;
            font-weight: bold;
            color: #2c3e50;
        }

        .table tr:hover {
            background-color: #f5f5f5;
        }

        /* 弹窗样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 20px;
            border-radius: 8px;
            width: 80%;
            max-width: 800px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }

        .modal-header h3 {
            color: #2c3e50;
        }

        .close {
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover {
            color: #000;
        }

        /* 表单样式 */
        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #2c3e50;
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }

        .form-control:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 100px;
        }

        /* 子项目管理区域 */
        .sub-items {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 5px;
        }

        /* 图片上传样式 */
        .image-upload-area {
            border: 2px dashed #ddd;
            border-radius: 5px;
            padding: 20px;
            text-align: center;
            background-color: #f9f9f9;
        }

        .image-preview {
            position: relative;
            display: inline-block;
            margin: 5px;
        }

        .image-preview img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        .image-preview .remove-image {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .image-preview .remove-image:hover {
            background-color: #c0392b;
        }

        .sub-items h4 {
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .sub-item {
            background: white;
            padding: 15px;
            margin-bottom: 10px;
            border-radius: 5px;
            border: 1px solid #ddd;
            position: relative;
        }

        .sub-item-actions {
            position: absolute;
            top: 10px;
            right: 10px;
        }

        .sub-item-actions button {
            padding: 5px 10px;
            font-size: 12px;
        }

        /* 加载动画 */
        .loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }

        .loading::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid #ddd;
            border-top: 2px solid #3498db;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 10px;
        }

        #commercial-teams-section .commercial-toolbar {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        #commercial-teams-section .commercial-toolbar .toolbar-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        #commercial-teams-section .commercial-toolbar .toolbar-spacer {
            flex: 1 1 auto;
            min-width: 12px;
        }

        #commercial-teams-section .commercial-toolbar select,
        #commercial-teams-section .commercial-toolbar input[type="text"] {
            height: 32px;
            padding: 0 10px;
            border: 1px solid #d9d9d9;
            border-radius: 6px;
            font-size: 14px;
            background: #fff;
        }

        #commercial-teams-section .commercial-toolbar input[type="text"] {
            width: 220px;
        }

        #commercial-teams-section .commercial-toolbar .select-all {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            color: #333;
            user-select: none;
        }

        #commercial-teams-section .commercial-toolbar .selected-count {
            color: #999;
            font-size: 12px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 长按拖拽相关样式 */
        .dragging-active {
            user-select: none;
        }

        .drag-placeholder {
            background: #e3f2fd;
            border: 2px dashed #3498db;
            border-radius: 8px;
            margin-bottom: 15px;
            padding: 15px;
            text-align: center;
            color: #3498db;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .placeholder-content {
            padding: 20px;
            font-size: 16px;
        }

        .lodging-item-detailed.dragging {
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            border-color: #3498db;
            z-index: 1000;
            position: relative;
        }

        /* 司机和住宿卡片样式 */
        .drivers-grid, .lodgings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .driver-card, .lodging-card {
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: box-shadow 0.3s ease;
        }

        .driver-card:hover, .lodging-card:hover {
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }

        .driver-card h4, .lodging-card h4 {
            margin: 0 0 15px 0;
            color: #2c3e50;
            font-size: 18px;
        }

        .driver-card p, .lodging-card p {
            margin: 8px 0;
            color: #555;
            line-height: 1.4;
        }

        .card-actions {
            margin-top: 15px;
            display: flex;
            gap: 10px;
        }

        .card-actions button {
            flex: 1;
            padding: 8px 12px;
            font-size: 14px;
        }

        .flowchart-node.has-info {
            border-color: #28a745;
        }

        .flowchart-node:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,123,255,0.2);
        }
        


        .driver-list {
            max-height: 150px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .driver-item-compact {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 8px 10px;
            margin-bottom: 6px;
        }

        .driver-name {
            font-weight: 600;
            color: #333;
        }

        .driver-details {
            font-size: 11px;
            color: #666;
            margin-top: 3px;
        }

        /* 路线图管理样式 */
.route-map-card {
    background: white;
}

/* back-arrow.css — 放入全局样式表 */
.back-arrow {
  width: 10px; /* 20rpx approx */
  height: 10px; /* 20rpx approx */
  border-left: 2px solid #333; /* 4rpx approx */
  border-bottom: 2px solid #333; /* 4rpx approx */
  transform: rotate(45deg);
  display: inline-block;
}

/* We also keep the original rpx version if this file is used in a context that supports it */
@media screen and (max-width: 768px) {
    .back-arrow {
        width: 20rpx;
        height: 20rpx;
        border-left: 4rpx solid #333;
        border-bottom: 4rpx solid #333;
    }
}
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: box-shadow 0.3s ease;
            cursor: pointer;
        }

        .route-map-card:hover {
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }

        .route-map-card h3 {
            margin: 0 0 10px 0;
            color: #2c3e50;
            font-size: 20px;
        }

        .route-map-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 10px;
            font-size: 14px;
            color: #666;
        }

        .route-map-stats {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            font-size: 13px;
            color: #888;
        }

        .points-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .point-card {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 15px;
            position: relative;
        }

        .point-card h5 {
            margin: 0 0 10px 0;
            color: #495057;
            font-size: 16px;
        }

        .point-card .point-type {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        /* 路线详情容器 */
        .route-detail-container {
            display: flex;
            gap: 20px;
            min-height: 400px;
        }

        /* 流程图区域 */
        .flowchart-section {
            flex: 2;
            min-width: 0;
        }

        .flowchart-container {
            position: relative;
            border: 1px solid #ddd;
            border-radius: 8px;
            background: #f8f9fa;
            overflow-x: auto;
            overflow-y: hidden;
            width: 100%;
            min-height: 120px;
            max-height: 400px;
            padding: 20px 0;
        }

        /* 流程图容器 */
        .route-flowchart {
            position: relative;
            background: transparent;
            border-radius: 8px;
            width: auto;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0 20px;
            min-width: max-content;
        }

        /* 自定义滚动条样式 */
        .route-flowchart::-webkit-scrollbar {
            height: 12px;
        }

        .route-flowchart::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 6px;
        }

        .route-flowchart::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 6px;
        }

        .route-flowchart::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        .route-flowchart.grabbing {
            cursor: grabbing;
        }

        /* 流程图控制按钮 */
        .flowchart-controls {
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .flowchart-controls .btn {
            padding: 4px 8px;
            font-size: 12px;
        }

        /* 信息展示区域样式 */
        .info-display {
            margin-top: 20px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            animation: slideDown 0.3s ease-out;
        }

        /* Push Tab Styles */
        .push-tab-item {
            padding: 12px 24px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            color: #666;
            transition: all 0.3s;
            position: relative;
            border-bottom: 2px solid transparent;
        }
        
        .push-tab-item:hover {
            color: #1890ff;
            background-color: #e6f7ff;
            border-radius: 4px;
        }

        .push-tab-item.active {
            background-color: #1890ff !important;
            color: white !important;
            border-radius: 4px;
            border-bottom: none !important;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .info-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
            background: #f8f9fa;
            border-radius: 8px 8px 0 0;
        }

        .info-header h5 {
            margin: 0;
            color: #333;
            font-size: 16px;
        }

        .info-content {
            padding: 0; /* 去除内边距 */
            max-height: 400px;
            overflow-y: auto;
        }

        /* 弹窗内容样式 */
        .point-details, .segment-details {
            margin-bottom: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 6px;
        }

        .point-type-badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 10px;
            background: #007bff;
            color: white;
        }

        .accommodations-section, .drivers-section {
            margin-top: 15px;
        }

        .accommodations-section h5, .drivers-section h5 {
            margin: 0 0 15px 0;
            color: #333;
            font-size: 16px;
        }

        .accommodation-item, .driver-item {
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 10px;
            background: white;
        }

        .item-name {
            font-weight: bold;
            color: #333;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .item-type {
            color: #666;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .item-price {
            color: #28a745;
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .item-details {
            border-top: 1px solid #eee;
            padding-top: 10px;
            margin-top: 10px;
        }

        .item-details p {
            margin: 5px 0;
            font-size: 13px;
            color: #555;
        }

        .no-data {
            text-align: center;
            color: #666;
            font-style: italic;
            padding: 20px;
        }

        /* 信息列表样式 */
        .info-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .info-list-item {
            padding: 12px 15px;
            border: 1px solid #eee;
            border-radius: 6px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: white;
        }

        .info-list-item:hover {
            background: #f8f9fa;
            border-color: #007bff;
            transform: translateX(5px);
        }

        .info-list-item.active {
            background: #e3f2fd;
            border-color: #007bff;
        }

        .info-item-title {
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }

        .info-item-subtitle {
            font-size: 12px;
            color: #666;
        }

        /* 详细信息显示 */
        .detail-info {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 15px;
            margin-top: 15px;
        }

        .detail-info h5 {
            margin: 0 0 10px 0;
            color: #333;
            font-size: 14px;
        }

        .detail-info p {
            margin: 5px 0;
            font-size: 13px;
            color: #555;
        }

        .back-button {
            display: inline-block;
            padding: 6px 12px;
            background: #6c757d;
            color: white;
        }

        /* 信息面板样式 */
        .info-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
            background: #f8f9fa;
        }

        .info-header h4 {
            margin: 0;
            color: #333;
            font-size: 16px;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 20px;
            color: #666;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .point-details, .segment-details {
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
        }

        .point-type-badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .segment-info {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
            margin-bottom: 10px;
        }

        .segment-info span {
            font-size: 14px;
            color: #555;
        }

        .accommodations-section, .drivers-section {
            padding: 15px;
        }

        .accommodations-section h5, .drivers-section h5 {
            margin: 0 0 15px 0;
            color: #007bff;
            font-size: 14px;
        }

        .accommodations-list, .drivers-list {
            margin-bottom: 15px;
        }

        .accommodation-item, .driver-item {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 12px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .accommodation-item:hover, .driver-item:hover {
            background: #e3f2fd;
            border-color: #007bff;
            transform: translateX(3px);
        }

        .item-name {
            font-weight: bold;
            color: #333;
            margin-bottom: 4px;
        }

        .item-type {
            font-size: 12px;
            color: #666;
            margin-bottom: 2px;
        }

        .item-price {
            font-size: 13px;
            color: #007bff;
            font-weight: 600;
        }

        .no-data {
            color: #666;
            font-style: italic;
            text-align: center;
            padding: 20px;
        }

        .add-btn {
            width: 100%;
            padding: 10px;
            background: #28a745;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }

        .add-btn:hover {
            background: #218838;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
        }

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

        .detail-item label {
            font-weight: bold;
            color: #333;
            min-width: 80px;
            margin-right: 15px;
        }

        .detail-item span {
            color: #555;
            flex: 1;
            text-align: right;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            margin-bottom: 15px;
            transition: background 0.2s ease;
        }

        .back-button:hover {
            background: #5a6268;
        }

        /* 流程图节点 */
        .flowchart-node {
            position: relative;
            background: #fff;
            border: 3px solid #007bff;
            border-radius: 16px;
            padding: 8px 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(0,123,255,0.2);
            min-width: 100px;
            max-width: 140px;
            text-align: center;
            font-weight: 600;
            font-size: 12px;
            color: #2c3e50;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            flex-shrink: 0;
        }

        .flowchart-node:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 6px 20px rgba(0,123,255,0.3);
            border-color: #0056b3;
            background: #e3f2fd;
        }

        .flowchart-node.has-info {
            border-color: #28a745;
            background: #d4edda;
            box-shadow: 0 4px 12px rgba(40,167,69,0.2);
        }

        .flowchart-node.has-info:hover {
            box-shadow: 0 6px 20px rgba(40,167,69,0.3);
        }

        /* 移除房子图标 */
        .flowchart-node::before {
            display: none;
        }

        .flowchart-node.start { 
            border-color: #28a745; 
            background: #d4edda;
            box-shadow: 0 4px 12px rgba(40,167,69,0.2);
        }
        .flowchart-node.end { 
            border-color: #dc3545; 
            background: #f8d7da;
            box-shadow: 0 4px 12px rgba(220,53,69,0.2);
        }
        .flowchart-node.rest { 
            border-color: #17a2b8; 
            background: #d1ecf1;
            box-shadow: 0 4px 12px rgba(23,162,184,0.2);
        }
        .flowchart-node.normal { border-color: #ffc107; background: #fff3cd; }




        .flowchart-node.drop-target {
            border: 2px dashed #28a745;
            opacity: 0.8;
        }

        .flowchart-node.drop-target:hover {
            border-color: #007bff;
            background: #e3f2fd;
        }

        .flowchart-node.selected {
            border: 2px solid #007bff;
            background-color: #e7f3ff;
        }

        /* 流程图箭头 */
        .flowchart-arrow {
            font-size: 24px;
            color: #007bff;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 4px;
            user-select: none;
        }

        .flowchart-arrow:hover {
            background: #e3f2fd;
            color: #0056b3;
            transform: scale(1.2);
        }

        /* 节点和线段内联信息样式 */
        .node-title, .segment-title {
            font-weight: 600;
            margin-bottom: 6px;
            color: #2c3e50;
            font-size: 13px;
        }

        .node-info, .segment-info {
            /* background: #fff; */
            /* border: 2px solid #e3f2fd; */
            border-radius: 8px;
            padding: 8px;
            margin-top: 2px;
            font-size: 12px;
            /* box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 10; */
            position: relative;
            animation: fadeInUp 0.3s ease;
        }



        .driver-list {
            max-height: 200px;
            overflow-y: auto;
        }

        .driver-item-compact {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 8px 10px;
            margin-bottom: 6px;
            transition: all 0.2s ease;
        }

        .driver-item-compact:hover {
            background: #e3f2fd;
            border-color: #2196f3;
            transform: translateX(3px);
        }

        .driver-name {
            font-weight: 600;
            color: #333;
            font-size: 13px;
        }

        .driver-details {
            font-size: 11px;
            color: #666;
            margin-top: 3px;
        }

        /* 司机详细信息样式 */
        .driver-item-detailed {
            background: #f8f9fa;
            border: 2px solid #dee2e6;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .driver-item-detailed:hover {
            background: #e3f2fd;
            border-color: #2196f3;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(33,150,243,0.2);
        }

        .driver-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e0e0e0;
        }

        .driver-header .driver-name {
            font-weight: 700;
            color: #333;
            font-size: 16px;
        }

        .driver-header .driver-price {
            font-weight: 700;
            color: #28a745;
            font-size: 16px;
            background: rgba(40,167,69,0.1);
            padding: 4px 8px;
            border-radius: 6px;
        }

        .driver-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 10px;
        }

        .driver-info > div {
            font-size: 13px;
            color: #555;
            padding: 4px 0;
        }

        .driver-description {
            font-size: 13px;
            color: #666;
            background: rgba(0,0,0,0.05);
            padding: 8px;
            border-radius: 6px;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .driver-actions {
            text-align: left;
        }

        .btn-sm {
            padding: 6px 12px;
            font-size: 12px;
            border-radius: 6px;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
            margin-bottom: 15px;
        }

        .segment-basic-info {
            background: rgba(0,123,255,0.05);
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .segment-basic-info h4 {
            margin: 0 0 15px 0;
            color: #007bff;
        }

        /* 住宿信息样式 */
        .accommodation-basic-info {
            background: rgba(40,167,69,0.05);
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .accommodation-basic-info h4 {
            margin: 0 0 15px 0;
            color: #28a745;
        }

        .accommodation-item-detailed {
            background: #f8f9fa;
            border: 2px solid #dee2e6;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .accommodation-item-detailed:hover {
            background: #e8f5e8;
            border-color: #28a745;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40,167,69,0.2);
        }

        .accommodation-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e0e0e0;
        }

        .accommodation-header .accommodation-name {
            font-weight: 700;
            color: #333;
            font-size: 16px;
        }

        .accommodation-header .accommodation-price {
            font-weight: 700;
            color: #28a745;
            font-size: 16px;
            background: rgba(40,167,69,0.1);
            padding: 4px 8px;
            border-radius: 6px;
        }

        .accommodation-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 10px;
        }

        .accommodation-info > div {
            font-size: 13px;
            color: #555;
            padding: 4px 0;
        }

        .accommodation-description {
            font-size: 13px;
            color: #666;
            background: rgba(0,0,0,0.05);
            padding: 8px;
            border-radius: 6px;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .accommodation-actions {
            text-align: left;
        }

        .accommodations-section h4 {
            color: #28a745;
            margin-bottom: 15px;
        }

        .loading, .error, .no-data {
            text-align: center;
            padding: 20px;
            color: #666;
            font-style: italic;
        }

        .error {
            color: #dc3545;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .info-item {
            margin: 4px 0;
            color: #495057;
            padding: 2px 0;
            border-bottom: 1px solid #f0f0f0;
        }

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

        .point-type-badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 6px;
            background: #667eea;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        /* 调整节点样式以适应内联信息 */
        .flowchart-node {
            min-height: auto;
            overflow: visible;
        }

        .line-label {
            min-width: 120px;
            text-align: center;
        }



        /* 响应式设计 */
        @media (max-width: 768px) {
            body {
                margin: 0;
                padding: 0;
            }
            
            .container {
                margin: 0;
                padding: 0;
                max-width: 100%;
            }
            
            .main-content {
                margin: 0;
                padding: 0;
                width: 100%;
            }
            
            .content-area {
                margin: 0;
                padding: 10px;
            }
            
            .sidebar {
                position: fixed;
                top: 60px;
                left: 0;
                height: calc(100vh - 60px);
                width: 250px;
                z-index: 1000;
            }
            
            .main-content.sidebar-collapsed {
                margin-left: 0;
            }
            
            .modal-content {
                width: 95%;
                margin: 2% auto;
            }
            
            .points-grid {
                grid-template-columns: 1fr;
            }
            
            .driver-item-compact {
                padding: 6px 8px;
                margin-bottom: 4px;
            }
            
            .driver-name {
                font-size: 12px;
            }
            
            .driver-details {
                font-size: 10px;
            }
            
            /* 路线图管理移动端优化 */
            .route-map-card {
                margin: 0 0 1px 0;
                border-radius: 0;
                padding: 12px;
                border-bottom: 1px solid #eee;
                border-left: none;
                border-right: none;
                border-top: none;
                transition: all 0.3s ease;
                cursor: pointer;
            }
            
            .route-map-card:hover {
                box-shadow: none;
            }
            
            .route-map-card.single-view {
                background: #e3f2fd;
                border-left: 4px solid #2196f3;
                position: relative;
                margin-bottom: 15px;
            }
            
            .route-map-card.single-view::before {
                content: "点击再次查看可返回列表";
                position: absolute;
                top: -25px;
                right: 0;
                background: #2196f3;
                color: white;
                padding: 3px 8px;
                font-size: 10px;
                border-radius: 3px;
                z-index: 10;
            }
            
            .route-map-card h3 {
                font-size: 16px;
                margin-bottom: 8px;
            }
            
            .route-map-meta {
                flex-direction: column;
                gap: 5px;
                font-size: 13px;
                margin-bottom: 8px;
            }
            
            .route-map-stats {
                gap: 10px;
                font-size: 12px;
                margin-top: 8px;
            }
            
            .route-map-actions {
                margin-top: 10px !important;
                gap: 6px !important;
            }
            
            .route-map-actions .btn {
                padding: 4px 8px !important;
                font-size: 11px !important;
                border-radius: 4px;
            }
            
            .flowchart-container {
                overflow-x: auto;
                padding: 10px;
            }
            
            .flowchart-node {
                font-size: 12px;
                padding: 8px;
                min-width: 100px;
            }
            
            .node-info, .segment-info {
                font-size: 10px;
                padding: 6px;
                max-width: 150px;
            }
            
            .line-label {
                min-width: 100px;
                font-size: 11px;
                padding: 3px 6px;
            }
        }

        @media (max-width: 480px) {
            .content-header h1 {
                font-size: 20px;
            }
            
            .route-detail-container {
                padding: 10px;
            }
            
            .popup-content {
                max-height: 60vh;
                overflow-y: auto;
            }
            
            .driver-item {
                padding: 10px;
                margin-bottom: 8px;
            }
            
            .flowchart-node {
                font-size: 11px;
                padding: 6px;
                min-width: 80px;
            }
            
            .node-info, .segment-info {
                font-size: 9px;
                padding: 4px;
                max-width: 120px;
            }
            
            .line-label {
                min-width: 80px;
                font-size: 10px;
                padding: 2px 4px;
            }
        }

        /* 新的司机管理样式 */
        .route-drivers-container {
            max-width: 100%;
        }

        .route-info-header {
            background: #f8f9fa;
            color: #333;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 16px;
            text-align: left;
            border: 1px solid #e0e0e0;
        }

        .route-info-header h3 {
            margin: 0 0 4px 0;
            font-size: 16px;
            font-weight: 500;
        }

        .route-info-header p {
            margin: 0;
            color: #666;
            font-size: 14px;
        }

        .route-segment-drivers {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            margin-bottom: 5px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .route-segment-drivers:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .route-segment-drivers.selected {
            border-color: #28a745;
            background-color: #f8fff9;
        }

        .segment-header {
            background: #f8f9fa;
            padding: 15px 20px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .segment-header h4 {
            margin: 0;
            color: #2c3e50;
            font-size: 18px;
            flex: 1;
            min-width: 200px;
        }

        .segment-info {
            display: flex;
            /* gap: 15px; */
            flex-wrap: wrap;
            align-items: center;
        }

        .segment-info span {
            background: white;
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 12px;
            color: #666;
            border: 1px solid #ddd;
        }

        .segment-info .driver-count {
            background: #e3f2fd;
            color: #1976d2;
            border-color: #bbdefb;
        }

        .segment-drivers-list {
            padding: 20px;
        }

        .driver-item-detailed {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .driver-item-detailed:hover {
            background: #e3f2fd;
            border-color: #2196f3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .driver-item-detailed.selected {
            background: #e8f5e8;
            border-color: #28a745;
        }

        /* 路段司机管理样式 */
        .route-segments-drivers {
            margin-top: 20px;
        }

        .route-segment-drivers {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            /* margin-bottom: 20px; */
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .route-segment-drivers:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .segment-header {
            background: #f8f9fa;
            padding: 8px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .segment-header:hover {
            background: #e3f2fd;
        }

        .segment-title {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .segment-number {
            background: #007bff;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
        }

        .segment-route {
            font-weight: bold;
            color: #333;
            font-size: 16px;
        }

        .segment-info {
            color: #666;
            font-size: 14px;
        }

        .segment-stats {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .driver-count {
            background: #e3f2fd;
            color: #1976d2;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 14px;
            font-weight: 500;
        }

        .toggle-icon {
            font-size: 18px;
            color: #666;
            transition: transform 0.3s ease;
        }

        .segment-drivers-list {
            padding: 20px;
            background: #fafafa;
        }

        .no-segment-drivers {
            text-align: center;
            padding: 10px;
            color: #666;
        }

        .no-segment-drivers p {
            margin-bottom: 15px;
            font-size: 16px;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .info-row span {
            color: #666;
            font-size: 14px;
        }

        .route-actions {
            margin-top: 30px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            text-align: center;
        }

        .route-actions .btn {
            margin: 5px;
        }

        /* 路线点住宿管理样式 */
        .route-points-lodgings {
            margin-top: 20px;
        }

        .route-point-lodgings {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            margin-bottom: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .route-point-lodgings:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .route-point-lodgings.selected {
            border-color: #28a745;
            box-shadow: 0 4px 12px rgba(40,167,69,0.2);
        }

        .point-header {
            background: #f8f9fa;
            padding: 15px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .point-header:hover {
            background: #e3f2fd;
        }

        .point-title {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .point-number {
            background: #28a745;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 16px;
        }

        .point-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .point-name {
            font-weight: bold;
            color: #333;
            font-size: 18px;
        }

        .point-description {
            color: #666;
            font-size: 14px;
        }

        .point-stats {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .lodging-count {
            background: #e8f5e8;
            color: #28a745;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 14px;
            font-weight: 500;
        }

        .point-lodgings-list {
            padding: 16px;
            background: #fafafa;
        }

        .no-point-lodgings {
            text-align: center;
            padding: 30px;
            color: #666;
        }

        .no-point-lodgings p {
            margin-bottom: 15px;
            font-size: 16px;
        }

        .lodging-item-detailed {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 10px;
            transition: all 0.3s ease;
        }

        .lodging-item-detailed:hover {
            background: #e3f2fd;
            border-color: #2196f3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .lodging-item-detailed.selected {
            background: #e8f5e8;
            border-color: #28a745;
        }

        .lodging-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            padding-bottom: 6px;
            border-bottom: 1px solid #e0e0e0;
        }

        .lodging-name {
            font-size: 15px;
            font-weight: 600;
            color: #333;
        }

        .lodging-price {
            font-weight: 600;
            color: #52c41a;
            font-size: 14px;
            background: rgba(82,196,26,0.1);
            padding: 3px 8px;
            border-radius: 4px;
        }

        .lodging-info {
            margin-bottom: 8px;
        }

        .lodging-description {
            background: #fafafa;
            padding: 8px;
            border-radius: 4px;
            margin-bottom: 8px;
            color: #666;
            font-size: 13px;
            line-height: 1.4;
        }

        .lodging-actions {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

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

        .driver-header .driver-name {
            font-size: 16px;
            font-weight: bold;
            color: #2c3e50;
        }

        .driver-header .driver-price {
            background: #28a745;
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 14px;
            font-weight: bold;
        }

        .driver-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 10px;
        }

        .driver-info > div {
            font-size: 13px;
            color: #666;
        }

        .driver-description {
            background: white;
            padding: 10px;
            border-radius: 5px;
            font-size: 13px;
            color: #555;
            margin-bottom: 10px;
            border-left: 3px solid #3498db;
        }

        .driver-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .driver-actions .btn {
            padding: 5px 10px;
            font-size: 12px;
            border-radius: 15px;
        }

        .no-drivers {
            text-align: center;
            padding: 40px 20px;
            color: #666;
        }

        .no-drivers p {
            margin-bottom: 15px;
            font-size: 14px;
        }

        /* 住宿管理样式 */
        .route-lodgings-container {
            max-width: 100%;
        }

        .route-point-lodgings {
            background: white;
            border: 1px solid #d9d9d9;
            border-radius: 8px;
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
        }

        .route-point-lodgings:hover {
            box-shadow: 0 4px 8px rgba(0,0,0,0.12);
            border-color: #40a9ff;
        }

        .route-point-lodgings.selected {
            border-color: #52c41a;
            background-color: #f6ffed;
        }

        .point-header {
            background: #f8f9fa;
            padding: 10px 14px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        .point-header h4 {
            margin: 0;
            color: #262626;
            font-size: 16px;
            font-weight: 600;
            flex: 1;
            min-width: 200px;
        }

        .point-info {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .point-info span {
            background: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            color: #666;
            border: 1px solid #d9d9d9;
        }

        .point-info .point-type {
            background: #fff7e6;
            color: #d46b08;
            border-color: #ffd591;
        }

        .point-info .accommodation-count {
            background: #e6f7ff;
            color: #1890ff;
            border-color: #91d5ff;
        }

        .point-lodgings-list {
            padding: 12px;
        }

        .lodging-item-detailed {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 8px;
            transition: all 0.3s ease;
            cursor: move;
        }

        .lodging-item-detailed:hover {
            background: #e3f2fd;
            border-color: #2196f3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .lodging-item-detailed.selected {
            background: #e8f5e8;
            border-color: #28a745;
        }

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

        .lodging-header .lodging-name {
            font-size: 16px;
            font-weight: bold;
            color: #2c3e50;
            flex: 1;
        }

        .lodging-header .lodging-price {
            background: #28a745;
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 14px;
            font-weight: bold;
            margin-right: 10px;
        }

        .info-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        .info-row > span:first-child {
            flex-shrink: 0;
            margin-right: 8px;
        }

        .info-row > span:nth-child(2) {
            flex: 1;
        }

        /* 拖拽占位符样式 */
        .drag-placeholder {
            background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
            border: 2px dashed #2196f3;
            border-radius: 10px;
            margin: 10px 0;
            padding: 20px;
            text-align: center;
            animation: pulse 1.5s ease-in-out infinite;
            transition: all 0.3s ease;
        }

        .placeholder-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: #1976d2;
            font-weight: 500;
        }

        .placeholder-icon {
            font-size: 20px;
            animation: bounce 1s ease-in-out infinite;
        }

        .placeholder-text {
            font-size: 14px;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 0.7;
                transform: scale(1);
            }
            50% {
                opacity: 1;
                transform: scale(1.02);
            }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-5px);
            }
            60% {
                transform: translateY(-3px);
            }
        }

        /* 让位动画效果 */
        .route-point-lodgings:not(.dragging) {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                       margin 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                       box-shadow 0.3s ease;
        }

        .route-point-lodgings.shift-up {
            transform: translateY(-10px);
        }

        .route-point-lodgings.shift-down {
            transform: translateY(10px);
        }

        .lodging-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 10px;
        }

        .lodging-info > div {
            font-size: 13px;
            color: #666;
        }

        .lodging-description {
            background: white;
            padding: 10px;
            border-radius: 5px;
            font-size: 13px;
            color: #555;
            margin-bottom: 10px;
            border-left: 3px solid #3498db;
        }

        .lodging-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .lodging-actions .btn {
            padding: 5px 10px;
            font-size: 12px;
            border-radius: 15px;
        }

        .no-lodgings {
            text-align: center;
            padding: 40px 20px;
            color: #666;
        }

        .no-lodgings p {
            margin-bottom: 15px;
            font-size: 14px;
        }

        /* Ant Design 选择框样式 */
        .ant-select {
            position: relative;
            display: inline-block;
            cursor: pointer;
            font-size: 14px;
            line-height: 1.5715;
            color: rgba(0, 0, 0, 0.85);
            font-variant: tabular-nums;
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            list-style: none;
            font-feature-settings: 'tnum';
        }

        .ant-select-selector {
            position: relative;
            background-color: #fff;
            border: 1px solid #d9d9d9;
            border-radius: 6px;
            transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
            padding: 4px 11px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            min-height: 32px;
        }

        .ant-select:hover .ant-select-selector {
            border-color: #40a9ff;
        }

        .ant-select-focused .ant-select-selector,
        .ant-select-selector:focus,
        .ant-select-selector:focus-within,
        .ant-select-open .ant-select-selector {
            border-color: #40a9ff;
            box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
            outline: 0;
        }

        .ant-select-selection-item {
            flex: 1;
            font-weight: normal;
            position: relative;
            user-select: none;
            color: rgba(0, 0, 0, 0.85);
        }

        .ant-select-selection-search {
            position: relative;
            max-width: 100%;
            margin-inline-start: 7px;
        }

        .ant-select-selection-search-input {
            padding: 0;
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            background: transparent;
            border: none;
            outline: none;
            appearance: none;
        }

        .ant-select-arrow {
            position: absolute;
            top: 50%;
            right: 11px;
            height: 12px;
            margin-top: -6px;
            color: rgba(0, 0, 0, 0.25);
            font-size: 12px;
            line-height: 1;
            text-align: center;
            pointer-events: none;
            display: flex;
            align-items: center;
        }

        .ant-select-arrow-icon {
            vertical-align: top;
            transition: transform 0.3s;
        }

        .ant-select-open .ant-select-arrow-icon {
            transform: rotate(180deg);
        }

        .ant-space {
            display: inline-flex;
            align-items: center;
        }

        .ant-space-horizontal {
            flex-direction: row;
        }

        .ant-space-item {
            display: flex;
            align-items: center;
        }

        .ant-space-horizontal > .ant-space-item:not(:last-child) {
            margin-right: 8px;
        }
        /* 小程序配置开关样式 */
        input:checked + .slider {
            background-color: #2196F3;
        }

        input:focus + .slider {
            box-shadow: 0 0 1px #2196F3;
        }

        input:checked + .slider:before {
            -webkit-transform: translateX(16px);
            -ms-transform: translateX(16px);
            transform: translateX(16px);
        }
        
        /* Slider knob */
        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
            border-radius: 50%;
        }
    /* Compact Design for Drivers and Lodgings */
        .compact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 15px;
            padding: 10px 0;
        }

        .compact-card {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .compact-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border-color: var(--theme-color);
            transform: translateY(-2px);
        }

        .compact-card-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #f0f0f0;
            flex-shrink: 0;
            background-color: #f5f5f5;
        }

        .compact-card-content {
            flex: 1;
            min-width: 0; /* Enable text truncation */
        }

        .compact-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
        }

        .compact-card-title {
            font-weight: 600;
            font-size: 15px;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .compact-card-price {
            font-weight: 700;
            color: #f5222d;
            font-size: 14px;
        }

        .compact-card-meta {
            font-size: 12px;
            color: #666;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 4px;
        }

        .compact-card-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .compact-card-time {
            font-size: 11px;
            color: #999;
            margin-top: 4px;
        }

        .compact-card-actions {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-left: 8px;
        }

        .action-icon-btn {
            width: 28px;
            height: 28px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: 1px solid transparent;
            transition: all 0.2s;
            background: #f5f5f5;
            color: #666;
            font-size: 14px;
        }

        .action-icon-btn:hover {
            background: #e6f7ff;
            color: #1890ff;
            border-color: #91d5ff;
        }

        .action-icon-btn.delete:hover {
            background: #fff1f0;
            color: #ff4d4f;
            border-color: #ffa39e;
        }

        .segment-header-compact {
            background: #f0f2f5;
            padding: 10px 15px;
            border-radius: 6px;
            margin-bottom: 10px;
            font-weight: 600;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            border-left: 4px solid var(--theme-color);
        }

        .segment-header-compact:hover {
            background: #e6e8eb;
        }
        
        /* Extra styles extracted */
        .team-detail .detail-row {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        .team-detail .detail-row label {
            font-weight: bold;
            min-width: 100px;
            color: #2c3e50;
        }
        .team-detail .detail-row span {
            flex: 1;
            color: #555;
        }

/* Tab Styling Refactoring */
.tabs-container {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab-item {
    padding: 10px 20px;
    cursor: pointer;
    white-space: nowrap;
    color: #333;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    background: #ec4899;
    border-bottom: 2px solid #ec4899;
    color: #fff !important;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
}
