/* 物流拦截页面样式 - 复制自出库单策略页面并添加logistics-interception前缀 */
.logistics-interception-card {
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 24px;
}

/* 搜索区域样式 */
.logistics-interception-search-form {
    background: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 组合搜索框样式 */
.logistics-interception-search-field .logistics-interception-search-combined {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e6eb;
    width: 100%;
    min-width: 200px;
}

.logistics-interception-search-field .logistics-interception-search-type {
    width: 100px;
    height: 36px;
    border: none;
    border-right: 1px solid #e5e6eb;
    border-radius: 0;
    padding: 0 12px;
    cursor: pointer;
    margin: 0;
    background-color: #ffffff;
}

.logistics-interception-search-field .logistics-interception-search-value {
    flex: 1;
    border: none;
    border-radius: 0;
    height: 36px;
    background: #ffffff;
    padding: 0 12px;
    margin: 0;
}

.logistics-interception-search-field .logistics-interception-search-type:focus,
.logistics-interception-search-field .logistics-interception-search-value:focus {
    outline: none;
    border-color: #0052d9;
    box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1);
}

.logistics-interception-search-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.logistics-interception-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.logistics-interception-search-label {
    font-size: 13px;
    font-weight: 500;
    color: #1d2129;
    min-width: 80px;
}

.logistics-interception-search-input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    vertical-align: middle;
    box-sizing: border-box;
}

.logistics-interception-search-select {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    vertical-align: middle;
    box-sizing: border-box;
}

/* 多选下拉框样式 */
.logistics-interception-search-select[multiple] {
    height: auto;
    min-height: 36px;
    max-height: 120px;
    overflow-y: auto;
    padding: 4px;
}

.logistics-interception-search-select[multiple] option {
    padding: 6px 8px;
    border-radius: 2px;
    margin: 2px 0;
    cursor: pointer;
}

.logistics-interception-search-select[multiple] option:checked {
    background: linear-gradient(#1890ff, #1890ff);
    color: #fff;
    font-weight: 500;
}

.logistics-interception-search-select[multiple] option:hover {
    background-color: #f0f5ff;
}

/* 自定义多选下拉框 */
.logistics-interception-multi-select {
    position: relative;
    width: 100%;
}

/* 订单操作工具栏 - 覆盖式设计 */
.logistics-interception-overlay-toolbar {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, #0052d9 0%, #3f87ff 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 8px rgba(0, 82, 217, 0.2);
    z-index: 100;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.3s ease-in-out,
                box-shadow 0.3s ease;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-direction: row;
}

/* 确保工具栏显示时正确显示 */
.logistics-interception-overlay-toolbar.logistics-interception-toolbar-show {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.3);
}

/* 工具栏隐藏时的动画 */
.logistics-interception-overlay-toolbar.logistics-interception-hiding {
    transform: translateY(-20px);
    opacity: 0;
    box-shadow: 0 1px 4px rgba(0, 82, 217, 0.1);
}

/* 初始状态下工具栏完全隐藏 */
.logistics-interception-overlay-toolbar:not(.logistics-interception-toolbar-show):not(.logistics-interception-hiding) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.logistics-interception-overlay-toolbar.logistics-interception-toolbar-show {
    transform: translateY(0);
}

.logistics-interception-header {
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}

/* 工具栏相关样式 - 添加前缀 */
.logistics-interception-toolbar-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logistics-interception-toolbar-counter {
    color: white;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.logistics-interception-toolbar-counter span {
    font-weight: 700;
    font-size: 18px;
    margin-left: 4px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2px 8px;
    margin-left: 8px;
}

.logistics-interception-toolbar-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logistics-interception-toolbar-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.logistics-interception-toolbar-close-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.logistics-interception-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logistics-interception-toolbar-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    outline: none;
    white-space: nowrap;
}

.logistics-interception-toolbar-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.logistics-interception-toolbar-action-btn.logistics-interception-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #0052d9;
}

.logistics-interception-toolbar-action-btn.logistics-interception-primary:hover {
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logistics-interception-toolbar-btn-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.logistics-interception-toolbar-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.logistics-interception-search-input[type="date"] {
    padding: 0 8px;
    min-width: 120px;
}

.logistics-interception-search-input:focus,
.logistics-interception-search-select:focus {
    outline: none;
    border-color: #0052d9;
    box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1);
}

.logistics-interception-search-input:hover,
.logistics-interception-search-select:hover {
    border-color: #c9cdd4;
}

/* 列表区域样式 */
.logistics-interception-list {
    height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.logistics-interception-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.logistics-interception-title {
    font-size: 16px;
    font-weight: 500;
    color: #303133;
}

.logistics-interception-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logistics-interception-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f5f5f5;
    color: #4e5969;
    border: 1px solid #d9d9d9;
}

.logistics-interception-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.logistics-interception-btn:hover {
    background-color: #e6e6e6;
}

/* 表格样式 */
.logistics-interception-table-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    min-height: 0;
}

.logistics-interception-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 1900px;
}

/* 操作列样式 */
.logistics-interception-table th:nth-child(16),
.logistics-interception-table td:nth-child(16) {
    width: 100px;
    text-align: center;
    white-space: nowrap;
}

/* 日志按钮样式 */
.logistics-interception-log-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background-color: #1890ff;
    color: white;
}

.logistics-interception-log-btn:hover {
    background-color: #40a9ff;
}

/* 物流轨迹链接样式 */
.logistics-interception-trace-link {
    color: #1890ff;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.logistics-interception-trace-link:hover {
    color: #40a9ff;
    text-decoration: underline;
}

.logistics-interception-table th,
.logistics-interception-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #ebeef5;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.logistics-interception-table th {
    background-color: #f5f7fa;
    font-weight: 500;
    color: #303133;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #ebeef5;
}

.logistics-interception-table tbody tr {
    cursor: pointer;
}

.logistics-interception-table tbody tr:hover {
    background-color: #f5f7fa;
}

/* 选择框列样式 */
.logistics-interception-table th:nth-child(1),
.logistics-interception-table td:nth-child(1) {
    width: 40px;
    text-align: center;
}

/* 客服留言列左对齐，不换行 */
.logistics-interception-table th:nth-child(9),
.logistics-interception-table td:nth-child(9) {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* 拆分原因列左对齐 */
.logistics-interception-table th:nth-child(9),
.logistics-interception-table td:nth-child(9) {
    text-align: left;
}

/* 出库单号、来源单号列宽度 */
.logistics-interception-table th:nth-child(2),
.logistics-interception-table td:nth-child(2),
.logistics-interception-table th:nth-child(3),
.logistics-interception-table td:nth-child(3) {
    min-width: 120px;
}

/* 货主名称、店铺名称列宽度 */
.logistics-interception-table th:nth-child(4),
.logistics-interception-table td:nth-child(4),
.logistics-interception-table th:nth-child(5),
.logistics-interception-table td:nth-child(5) {
    min-width: 150px;
}

/* 创建人员、拦截确认、退回仓库、物流轨迹 居中对齐 */
.logistics-interception-table th:nth-child(12),
.logistics-interception-table td:nth-child(12),
.logistics-interception-table th:nth-child(13),
.logistics-interception-table td:nth-child(13),
.logistics-interception-table th:nth-child(14),
.logistics-interception-table td:nth-child(14) {
    text-align: center;
}

/* 状态标签样式 */
.logistics-interception-status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

.logistics-interception-status-pending {
    background-color: #e6f7ff;
    color: #1a73e8;
    border: 1px solid #d2e3fc;
}

.logistics-interception-status-processing {
    background-color: #fff7e6;
    color: #d46b08;
    border: 1px solid #ffe7ba;
}

.logistics-interception-status-completed {
    background-color: #f6ffed;
    color: #389e0d;
    border: 1px solid #d9f7be;
}

.logistics-interception-status-exception {
    background-color: #ffeef0;
    color: #cf1322;
    border: 1px solid #ffccc7;
}


/* 分页样式 */
.logistics-interception-pagination {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.logistics-interception-pagination-info {
    font-size: 14px;
    color: #4b5563;
}

.logistics-interception-pagination-controls {
    display: flex;
    gap: 8px;
}

.logistics-interception-pagination-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logistics-interception-pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.logistics-interception-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.logistics-interception-page-size {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4b5563;
}

.logistics-interception-page-size-select {
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    font-size: 13px;
}

/* 无数据提示样式 */
.logistics-interception-no-data {
    text-align: center;
    color: #86909c;
    padding: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logistics-interception-card {
        padding: 16px;
    }

    .logistics-interception-table {
        font-size: 12px;
    }

    .logistics-interception-table th,
    .logistics-interception-table td {
        padding: 8px;
    }
}

/* 物流拦截日志模态框样式 */
.logistics-interception-log-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.logistics-interception-log-content {
    background: white;
    border-radius: 12px;
    width: 850px;
    max-width: 95%;
    height: 650px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.logistics-interception-log-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8eaed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px 12px 0 0;
}

.logistics-interception-log-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logistics-interception-log-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 2px;
}

.logistics-interception-log-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #6b7280;
}

.logistics-interception-log-close:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.logistics-interception-log-close svg {
    width: 20px;
    height: 20px;
}

.logistics-interception-log-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.logistics-interception-log-body::-webkit-scrollbar {
    width: 8px;
}

.logistics-interception-log-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.logistics-interception-log-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.logistics-interception-log-order-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #bae6fd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
}

.logistics-interception-log-order-info-item {
    display: flex;
    font-size: 14px;
    align-items: center;
}

.logistics-interception-log-order-info-item:last-child {
    margin-right: 0;
}

.logistics-interception-log-order-info-label {
    color: #64748b;
    margin-right: 8px;
    font-weight: 500;
}

.logistics-interception-log-order-info-value {
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logistics-interception-log-timeline {
    position: relative;
    padding-left: 36px;
}

.logistics-interception-log-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 100%);
    border-radius: 1px;
}

.logistics-interception-log-item {
    position: relative;
    padding-bottom: 28px;
}

.logistics-interception-log-item:last-child {
    padding-bottom: 0;
}

.logistics-interception-log-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 3px solid #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    z-index: 1;
}

.logistics-interception-log-item.type-create::before {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.logistics-interception-log-item.type-confirm::before {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.logistics-interception-log-item.type-statusChange.status-success::before {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.logistics-interception-log-item.type-statusChange.status-fail::before {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.logistics-interception-log-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.logistics-interception-log-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.logistics-interception-log-type.create {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.logistics-interception-log-type.confirm {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.logistics-interception-log-type.statusChange {
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.logistics-interception-log-time {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.logistics-interception-log-operator {
    color: #475569;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 4px;
}

.logistics-interception-log-operator strong {
    color: #1e293b;
    font-weight: 600;
}

.logistics-interception-log-details {
    background-color: #f8fafc;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.logistics-interception-log-detail-row {
    display: flex;
    margin-bottom: 8px;
}

.logistics-interception-log-detail-row:last-child {
    margin-bottom: 0;
}

.logistics-interception-log-detail-label {
    color: #64748b;
    min-width: 90px;
    font-weight: 500;
}

.logistics-interception-log-detail-value {
    color: #1e293b;
    flex: 1;
    font-weight: 500;
}

/* 物流拦截日志响应式设计 */
@media (max-width: 1024px) {
    .logistics-interception-log-content {
        width: 95%;
        height: 600px;
    }

    .logistics-interception-log-order-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logistics-interception-log-content {
        width: 98%;
        height: 550px;
    }

    .logistics-interception-log-order-info {
        grid-template-columns: 1fr;
    }

    .logistics-interception-log-title {
        font-size: 16px;
    }
}

/* 物流轨迹模态框样式 */
.logistics-trace-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.logistics-trace-content {
    background: white;
    border-radius: 8px;
    width: 800px;
    max-width: 95%;
    height: 650px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logistics-trace-header {
    padding: 16px 20px;
    background: #f5f7fa;
    border-bottom: 1px solid #e4e7ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logistics-trace-title-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logistics-trace-title {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logistics-trace-icon {
    width: 18px;
    height: 18px;
    stroke: #409eff;
}

.logistics-trace-subtitle {
    font-size: 12px;
    color: #909399;
}

.logistics-trace-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #909399;
    transition: background-color 0.2s;
}

.logistics-trace-close:hover {
    background-color: #f0f0f0;
    color: #606266;
}

.logistics-trace-close svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.logistics-trace-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.logistics-trace-body::-webkit-scrollbar {
    width: 6px;
}

.logistics-trace-body::-webkit-scrollbar-track {
    background: #f5f7fa;
}

.logistics-trace-body::-webkit-scrollbar-thumb {
    background: #dcdfe6;
    border-radius: 3px;
}

.logistics-trace-timeline {
    position: relative;
    padding: 4px 0;
}

.logistics-trace-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.logistics-trace-item:last-child {
    margin-bottom: 0;
}

.logistics-trace-time {
    flex-shrink: 0;
    width: 90px;
    text-align: right;
    padding-right: 8px;
}

.trace-date {
    font-size: 12px;
    color: #909399;
    margin-bottom: 4px;
}

.trace-time {
    font-size: 13px;
    color: #303133;
    font-weight: 500;
}

.logistics-trace-line {
    position: absolute;
    left: 114px;
    top: 28px;
    bottom: -20px;
    width: 2px;
    background: #e4e7ed;
}

.logistics-trace-line.last {
    display: none;
}

.logistics-trace-card {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 14px 16px;
    border: 1px solid #e4e7ed;
    position: relative;
    overflow: hidden;
}

.logistics-trace-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #409eff;
}

.trace-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

.trace-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #303133;
}

.trace-location-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    flex-shrink: 0;
    stroke: #409eff;
}

.trace-card-content {
    font-size: 13px;
    color: #606266;
    line-height: 1.5;
    padding-left: 20px;
}

.logistics-trace-empty {
    text-align: center;
    color: #909399;
    font-size: 14px;
    padding: 40px 20px;
    background: #fafbfc;
    border-radius: 6px;
    border: 1px dashed #e4e7ed;
}

/* 物流轨迹响应式设计 */
@media (max-width: 1024px) {
    .logistics-trace-content {
        width: 95%;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .logistics-trace-content {
        width: 98%;
        height: 550px;
    }

    .logistics-trace-header {
        padding: 14px 16px;
    }

    .logistics-trace-title {
        font-size: 15px;
    }

    .logistics-trace-body {
        padding: 16px;
    }

    .logistics-trace-time {
        width: 75px;
    }

    .trace-date {
        font-size: 11px;
    }

    .trace-time {
        font-size: 12px;
    }

    .logistics-trace-line {
        left: 99px;
    }

    .logistics-trace-card {
        padding: 12px 14px;
    }
}

/* 设置拦截状态模态框样式 */
.logistics-interception-set-status-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.logistics-interception-set-status-content {
    background-color: white;
    border-radius: 8px;
    width: 600px;
    max-width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logistics-interception-set-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e6eb;
}

.logistics-interception-set-status-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
}

.logistics-interception-set-status-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #86909c;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.logistics-interception-set-status-close:hover {
    color: #1d2129;
}

.logistics-interception-set-status-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.logistics-interception-set-status-message {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #1d2129;
}

.logistics-interception-set-status-order-list {
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    overflow: hidden;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.logistics-interception-set-status-order-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e6eb;
    font-size: 13px;
}

.logistics-interception-set-status-order-item:last-child {
    border-bottom: none;
}

.logistics-interception-set-status-order-index {
    width: 28px;
    height: 28px;
    background-color: #f2f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #4e5969;
    margin-right: 10px;
    flex-shrink: 0;
}

.logistics-interception-set-status-order-number {
    flex: 1;
    color: #1d2129;
    font-weight: 500;
}

.logistics-interception-set-status-order-info {
    color: #86909c;
    font-size: 12px;
}

.logistics-interception-set-status-form {
    margin-top: 8px;
}

.logistics-interception-set-status-form-group {
    margin-bottom: 20px;
}

.logistics-interception-set-status-form-group:last-child {
    margin-bottom: 0;
}

.logistics-interception-set-status-form-label {
    display: block;
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    margin-bottom: 8px;
}

.logistics-interception-set-status-required {
    color: #f56c6c;
    margin-right: 4px;
}



.logistics-interception-set-status-form-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    cursor: pointer;
}

.logistics-interception-set-status-form-select:hover {
    border-color: #4096ff;
}

.logistics-interception-set-status-form-select:focus {
    border-color: #4096ff;
}

.logistics-interception-set-status-form-select option {
    padding: 8px 12px;
}

.logistics-interception-set-status-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.2s;
}

.logistics-interception-set-status-form-textarea:hover {
    border-color: #4096ff;
}

.logistics-interception-set-status-form-textarea:focus {
    border-color: #4096ff;
}

.logistics-interception-set-status-form-textarea::placeholder {
    color: #c0c4cc;
}

.logistics-interception-set-status-char-count {
    text-align: right;
    font-size: 12px;
    color: #909399;
    margin-top: 4px;
}

.logistics-interception-set-status-char-count span {
    color: #909399;
    font-weight: 500;
}

.logistics-interception-set-status-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e5e6eb;
}

.logistics-interception-set-status-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    background-color: white;
    color: #4e5969;
    transition: all 0.2s;
}

.logistics-interception-set-status-btn:hover {
    border-color: #4096ff;
    color: #4096ff;
}

.logistics-interception-set-status-btn-confirm {
    background-color: #165dff;
    border-color: #165dff;
    color: white;
}

.logistics-interception-set-status-btn-confirm:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
    color: white;
}

/* 设置拦截状态模态框响应式设计 */
@media (max-width: 768px) {
    .logistics-interception-set-status-content {
        width: 95%;
    }

    .logistics-interception-set-status-header {
        padding: 14px 16px;
    }

    .logistics-interception-set-status-title {
        font-size: 15px;
    }

    .logistics-interception-set-status-close {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }

    .logistics-interception-set-status-body {
        padding: 16px;
    }

    .logistics-interception-set-status-info {
        padding: 8px 12px;
        margin-bottom: 10px;
    }

    .logistics-interception-set-status-info-label {
        font-size: 12px;
        min-width: 70px;
    }

    .logistics-interception-set-status-info-value {
        font-size: 12px;
    }

    .logistics-interception-set-status-form-label {
        font-size: 13px;
    }

    .logistics-interception-set-status-footer {
        padding: 14px 16px;
    }

    .logistics-interception-set-status-btn {
        padding: 5px 14px;
        font-size: 13px;
    }
}

/* 确认拦截模态框样式 */
.logistics-interception-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.logistics-interception-confirm-content {
    background-color: white;
    border-radius: 8px;
    width: 600px;
    max-width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logistics-interception-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e6eb;
}

.logistics-interception-confirm-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
}

.logistics-interception-confirm-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #86909c;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.logistics-interception-confirm-close:hover {
    color: #1d2129;
}

.logistics-interception-confirm-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.logistics-interception-confirm-message {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #1d2129;
}

.logistics-interception-confirm-order-list {
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    overflow: hidden;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.logistics-interception-confirm-order-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e6eb;
    font-size: 13px;
}

.logistics-interception-confirm-order-item:last-child {
    border-bottom: none;
}

.logistics-interception-confirm-order-index {
    width: 28px;
    height: 28px;
    background-color: #f2f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #4e5969;
    margin-right: 10px;
    flex-shrink: 0;
}

.logistics-interception-confirm-order-number {
    flex: 1;
    color: #1d2129;
    font-weight: 500;
}

.logistics-interception-confirm-order-info {
    color: #86909c;
    font-size: 12px;
}

.logistics-interception-confirm-form {
    margin-top: 8px;
}

.logistics-interception-confirm-form-group {
    margin-bottom: 20px;
}

.logistics-interception-confirm-form-group:last-child {
    margin-bottom: 0;
}

.logistics-interception-confirm-form-label {
    display: block;
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    margin-bottom: 8px;
}

.logistics-interception-confirm-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logistics-interception-confirm-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f5f7fa;
    border-radius: 4px;
    border: 1px solid #e5e6eb;
    cursor: pointer;
    transition: all 0.2s;
}

.logistics-interception-confirm-radio-item:hover {
    background: #e8f4ff;
    border-color: #0052d9;
}

.logistics-interception-confirm-radio-item.selected {
    background: #e8f4ff;
    border-color: #0052d9;
}

.logistics-interception-confirm-radio {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.logistics-interception-confirm-radio-label {
    font-size: 14px;
    color: #303133;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.logistics-interception-confirm-radio-hint {
    display: block;
    font-size: 12px;
    color: #86909c;
    margin-left: 24px;
    margin-top: 4px;
}

.logistics-interception-confirm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e5e6eb;
}

.logistics-interception-confirm-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    background-color: white;
    color: #4e5969;
    transition: all 0.2s;
}

.logistics-interception-confirm-btn:hover {
    border-color: #4096ff;
    color: #4096ff;
}

.logistics-interception-confirm-btn-confirm {
    background-color: #165dff;
    border-color: #165dff;
    color: white;
}

.logistics-interception-confirm-btn-confirm:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
    color: white;
}

/* 确认拦截模态框响应式设计 */
@media (max-width: 768px) {
    .logistics-interception-confirm-content {
        width: 95%;
    }

    .logistics-interception-confirm-header {
        padding: 14px 16px;
    }

    .logistics-interception-confirm-title {
        font-size: 15px;
    }

    .logistics-interception-confirm-close {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }

    .logistics-interception-confirm-body {
        padding: 16px;
    }

    .logistics-interception-confirm-footer {
        padding: 14px 16px;
    }

    .logistics-interception-confirm-btn {
        padding: 5px 14px;
        font-size: 13px;
    }
}

/* 新增拦截模态框样式 */

/* 批量模式订单列表样式 */
.logistics-interception-add-batch-orders-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
}

.logistics-interception-add-batch-order-item {
    border-bottom: 1px solid #e5e6eb;
    padding: 12px 16px;
    transition: background-color 0.2s;
}

.logistics-interception-add-batch-order-item:last-child {
    border-bottom: none;
}

.logistics-interception-add-batch-order-item:hover {
    background-color: #f5f7fa;
}

.logistics-interception-add-batch-order-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.logistics-interception-add-batch-order-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #409eff;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
}

.logistics-interception-add-batch-order-number {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #303133;
}

.logistics-interception-add-batch-order-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
    background-color: #e1f3d8;
    color: #67c23a;
}

.logistics-interception-add-batch-order-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-left: 36px;
    margin-bottom: 12px;
}

.logistics-interception-add-batch-order-detail {
    font-size: 13px;
    display: flex;
    align-items: center;
}

.logistics-interception-add-batch-order-label {
    color: #909399;
    margin-right: 8px;
    white-space: nowrap;
}

.logistics-interception-add-batch-order-value {
    color: #303133;
}

/* 批量模式操作单列表样式 */
.logistics-interception-add-batch-operations-section {
    margin-left: 36px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #dcdfe6;
}

.logistics-interception-add-batch-operations-title {
    font-size: 13px;
    font-weight: 600;
    color: #606266;
    margin-bottom: 8px;
}
.logistics-interception-add-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.logistics-interception-add-content {
    background-color: white;
    border-radius: 8px;
    width: 700px;
    max-width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.logistics-interception-add-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e6eb;
    flex-shrink: 0;
}

.logistics-interception-add-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
}

.logistics-interception-add-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #86909c;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.logistics-interception-add-close:hover {
    color: #1d2129;
}

.logistics-interception-add-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.logistics-interception-add-form-group {
    margin-bottom: 20px;
}

.logistics-interception-add-form-group:last-child {
    margin-bottom: 0;
}

.logistics-interception-add-form-label {
    display: block;
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    margin-bottom: 8px;
}

.logistics-interception-add-required {
    color: #f56c6c;
    margin-right: 4px;
}

.logistics-interception-add-input-group {
    display: flex;
    gap: 12px;
}

.logistics-interception-add-input-wrapper {
    flex: 1;
}

.logistics-interception-add-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.logistics-interception-add-input:hover {
    border-color: #c0c4cc;
}

.logistics-interception-add-input:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.logistics-interception-add-input::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.logistics-interception-add-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}

.logistics-interception-add-select:hover {
    border-color: #c0c4cc;
}

.logistics-interception-add-select:focus {
    border-color: #4096ff;
}

.logistics-interception-add-select option {
    padding: 8px 12px;
}

.logistics-interception-add-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.logistics-interception-add-textarea:hover {
    border-color: #c0c4cc;
}

.logistics-interception-add-textarea:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.logistics-interception-add-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.logistics-interception-add-textarea-wrapper {
    margin-top: 12px;
    position: relative;
}

.logistics-interception-add-char-count {
    text-align: right;
    font-size: 12px;
    color: #909399;
    margin-top: 8px;
}

.logistics-interception-add-search-btn {
    padding: 0 20px;
    height: 40px;
    background-color: #165dff;
    border-color: #165dff;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
}

.logistics-interception-add-search-btn:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
}

.logistics-interception-add-search-btn:disabled {
    background-color: #94bfff;
    border-color: #94bfff;
    cursor: not-allowed;
}

.logistics-interception-add-result {
    margin-top: 16px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    overflow: hidden;
    display: none;
}

.logistics-interception-add-result.show {
    display: block;
}

.logistics-interception-add-result-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 12px 16px;
    border-bottom: 1px solid #e5e6eb;
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
}

.logistics-interception-add-result-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
}

.logistics-interception-add-result-info .logistics-interception-add-result-item:last-child {
    grid-column: 1 / -1;
}

.logistics-interception-add-result-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 1px solid #ffccc7;
    border-radius: 6px;
}

.logistics-interception-add-error-icon {
    width: 48px;
    height: 48px;
    fill: #ff4d4f;
    flex-shrink: 0;
}

.logistics-interception-add-error-text {
    font-size: 14px;
    color: #262626;
    line-height: 1.6;
}

.logistics-interception-add-result-item {
    display: flex;
    font-size: 13px;
}

.logistics-interception-add-result-label {
    color: #64748b;
    min-width: 80px;
    margin-right: 8px;
}

.logistics-interception-add-result-value {
    color: #0f172a;
    font-weight: 500;
}

.logistics-interception-add-operations-list {
    margin-top: 16px;
    border-top: 1px solid #e5e6eb;
    padding: 16px;
}

.logistics-interception-add-operations-title {
    font-size: 14px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 12px;
}

.logistics-interception-add-operations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.logistics-interception-add-operations-table thead {
    background-color: #f5f7fa;
}

.logistics-interception-add-operations-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 500;
    color: #606266;
    border-bottom: 2px solid #e5e6eb;
}

.logistics-interception-add-operations-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e6eb;
    color: #303133;
}

.logistics-interception-add-operation-row:hover {
    background-color: #f5f7fa;
}

.logistics-interception-add-operation-row:last-child td {
    border-bottom: none;
}

.logistics-interception-add-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e5e6eb;
    flex-shrink: 0;
}

.logistics-interception-add-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    background-color: white;
    color: #4e5969;
    transition: all 0.2s;
}

.logistics-interception-add-btn:hover {
    border-color: #4096ff;
    color: #4096ff;
}

.logistics-interception-add-btn-primary {
    background-color: #165dff;
    border-color: #165dff;
    color: white;
}

.logistics-interception-add-btn-primary:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
    color: white;
}

.logistics-interception-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 新增拦截模态框响应式设计 */
@media (max-width: 768px) {
    .logistics-interception-add-content {
        width: 95%;
        height: 90vh;
    }

    .logistics-interception-add-header {
        padding: 14px 16px;
    }

    .logistics-interception-add-title {
        font-size: 15px;
    }

    .logistics-interception-add-close {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }

    .logistics-interception-add-body {
        padding: 16px;
    }

    .logistics-interception-add-input-group {
        flex-direction: column;
        gap: 8px;
    }

    .logistics-interception-add-result-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .logistics-interception-add-footer {
        padding: 16px 18px;
    }

    .logistics-interception-add-btn {
        padding: 8px 18px;
        font-size: 13px;
        min-width: 80px;
    }

    .logistics-interception-add-operations-table th,
    .logistics-interception-add-operations-table td {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logistics-interception-add-content {
        width: 98%;
    }

    .logistics-interception-add-header {
        padding: 14px 16px;
    }

    .logistics-interception-add-title {
        font-size: 15px;
    }

    .logistics-interception-add-body {
        padding: 14px;
    }

    .logistics-interception-add-result-info {
        padding: 16px;
    }

    .logistics-interception-add-operations-table {
        font-size: 12px;
    }

    .logistics-interception-add-operations-table th,
    .logistics-interception-add-operations-table td {
        padding: 6px 8px;
    }
}

/* 退回地址配置模态框样式 */
.logistics-interception-config-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.logistics-interception-config-content {
    background-color: white;
    border-radius: 8px;
    width: 1000px;
    max-width: 95%;
    height: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.logistics-interception-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e6eb;
    flex-shrink: 0;
}

.logistics-interception-config-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
}

.logistics-interception-config-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #86909c;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.logistics-interception-config-close:hover {
    color: #1d2129;
}

.logistics-interception-config-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.logistics-interception-config-search {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.logistics-interception-config-search-input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.logistics-interception-config-search-input:hover {
    border-color: #c0c4cc;
}

.logistics-interception-config-search-input:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.logistics-interception-config-search-btn {
    padding: 0 20px;
    height: 40px;
    background-color: #165dff;
    border-color: #165dff;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
}

.logistics-interception-config-search-btn:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
}

.logistics-interception-config-list-container {
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    overflow: hidden;
}

.logistics-interception-config-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.logistics-interception-config-table thead {
    background-color: #f5f7fa;
}

.logistics-interception-config-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: #606266;
    border-bottom: 2px solid #e5e6eb;
    white-space: nowrap;
}

.logistics-interception-config-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e6eb;
    color: #303133;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.logistics-interception-config-row:hover {
    background-color: #f5f7fa;
}

.logistics-interception-config-action-btn {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    margin-right: 8px;
}

.logistics-interception-config-action-btn.edit {
    background-color: #1890ff;
    color: white;
}

.logistics-interception-config-action-btn.edit:hover {
    background-color: #40a9ff;
}

.logistics-interception-config-action-btn.delete {
    background-color: #ff4d4f;
    color: white;
}

.logistics-interception-config-action-btn.delete:hover {
    background-color: #ff7875;
}

.logistics-interception-config-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e5e6eb;
    flex-shrink: 0;
}

.logistics-interception-config-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    background-color: white;
    color: #4e5969;
    transition: all 0.2s;
}

.logistics-interception-config-btn:hover {
    border-color: #4096ff;
    color: #4096ff;
}

.logistics-interception-config-btn-primary {
    background-color: #165dff;
    border-color: #165dff;
    color: white;
}

.logistics-interception-config-btn-primary:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
    color: white;
}

/* 退回地址配置表单模态框样式 */
.logistics-interception-config-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.logistics-interception-config-form-content {
    background-color: white;
    border-radius: 8px;
    width: 800px;
    max-width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.logistics-interception-config-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e6eb;
    flex-shrink: 0;
}

.logistics-interception-config-form-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
}

.logistics-interception-config-form-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #86909c;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.logistics-interception-config-form-close:hover {
    color: #1d2129;
}

.logistics-interception-config-form-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.logistics-interception-config-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.logistics-interception-config-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.logistics-interception-config-form-half {
    width: 50%;
}

.logistics-interception-config-form-third {
    width: calc(33.33% - 10px);
}

.logistics-interception-config-form-full {
    width: 100%;
}

.logistics-interception-config-form-label {
    display: block;
    font-size: 14px;
    color: #303133;
    font-weight: 500;
    margin-bottom: 8px;
}

.logistics-interception-config-required {
    color: #f56c6c;
    margin-right: 4px;
}

.logistics-interception-config-form-input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.logistics-interception-config-form-input:hover {
    border-color: #c0c4cc;
}

.logistics-interception-config-form-input:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.logistics-interception-config-form-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.logistics-interception-config-form-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}

.logistics-interception-config-form-select:hover {
    border-color: #c0c4cc;
}

.logistics-interception-config-form-select:focus {
    border-color: #165dff;
}

.logistics-interception-config-form-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.logistics-interception-config-form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background: white;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.logistics-interception-config-form-textarea:hover {
    border-color: #c0c4cc;
}

.logistics-interception-config-form-textarea:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.logistics-interception-config-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e5e6eb;
    flex-shrink: 0;
}

.logistics-interception-config-form-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    background-color: white;
    color: #4e5969;
    transition: all 0.2s;
}

.logistics-interception-config-form-btn:hover {
    border-color: #4096ff;
    color: #4096ff;
}

.logistics-interception-config-form-btn-primary {
    background-color: #165dff;
    border-color: #165dff;
    color: white;
}

.logistics-interception-config-form-btn-primary:hover {
    background-color: #0e42d2;
    border-color: #0e42d2;
    color: white;
}

/* 退回地址响应式设计 */
@media (max-width: 1024px) {
    .logistics-interception-config-content {
        width: 95%;
        height: 70vh;
    }

    .logistics-interception-config-form-content {
        width: 95%;
    }

    .logistics-interception-config-form-third {
        width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .logistics-interception-config-content {
        width: 98%;
        height: 60vh;
    }

    .logistics-interception-config-form-content {
        width: 98%;
    }

    .logistics-interception-config-form-row {
        flex-direction: column;
    }

    .logistics-interception-config-form-half,
    .logistics-interception-config-form-third,
    .logistics-interception-config-form-full {
        width: 100%;
    }

    .logistics-interception-config-table td {
        max-width: 120px;
    }
}

/* 货主选择触发器样式 */
.logistics-interception-selection-trigger {
    height: 40px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 0 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.logistics-interception-selection-trigger:hover {
    border-color: #165dff;
}

.logistics-interception-selection-placeholder {
    color: #c9cdd4;
    font-size: 14px;
    line-height: 1;
}

.logistics-interception-selection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.logistics-interception-selection-tag {
    display: inline-flex;
    align-items: center;
    background: #ecf2fe;
    color: #165dff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    gap: 6px;
    line-height: 1.5;
}

.logistics-interception-selection-tag-text {
    flex-shrink: 0;
}

.logistics-interception-selection-tag-close {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 0 2px;
}

.logistics-interception-selection-tag-close:hover {
    color: #e34d59;
}



