/* 智仪全球 - 物流追踪页面样式 */

.logistics-hero {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #0288d1 100%);
    color: #fff;
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
}
.logistics-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}
.logistics-hero .breadcrumb { color: rgba(255,255,255,0.85); margin-bottom: 20px; font-size: 14px; }
.logistics-hero .breadcrumb a { color: rgba(255,255,255,0.9); }
.logistics-hero .hero-badge {
    display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 16px;
    border-radius: 20px; font-size: 12px; letter-spacing: 1px; margin-bottom: 16px;
}
.logistics-hero h1 { font-size: 36px; margin: 0 0 12px; }
.logistics-hero p { font-size: 16px; opacity: 0.9; max-width: 600px; margin: 0; }
.gradient-text {
    background: linear-gradient(90deg, #4fc3f7, #00e5ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* 追踪查询区 */
.tracking-section { padding: 40px 0; background: #e2e8f0; }
.tracking-box {
    background: #fff; border-radius: 16px; padding: 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08); max-width: 800px; margin: 0 auto;
}
.tracking-input-group { display: flex; gap: 12px; }
.tracking-input-wrap { flex: 1; position: relative; }
.tracking-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; }
.tracking-input {
    width: 100%; padding: 14px 16px 14px 48px; border: 2px solid #e0e0e0;
    border-radius: 10px; font-size: 16px; transition: border-color 0.3s;
    box-sizing: border-box;
}
.tracking-input:focus { border-color: #e2001a; outline: none; }
.btn-primary {
    background: linear-gradient(135deg, #e2001a, #0e7490); color: #fff;
    border: none; padding: 14px 32px; border-radius: 10px; font-size: 16px;
    cursor: pointer; white-space: nowrap; transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,115,232,0.3); }
.btn-lg { padding: 14px 32px; }
.carrier-logos {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-top: 24px; padding-top: 24px; border-top: 1px solid #f0f0f0;
}
.carrier-logo {
    padding: 8px 16px; border: 1px solid #e0e0e0; border-radius: 8px;
    font-size: 13px; color: #475569; background: #fafafa; transition: all 0.3s;
}
.carrier-logo:hover { border-color: #e2001a; color: #e2001a; }

/* 追踪结果 */
.tracking-result-section { padding: 30px 0; background: #e2e8f0; }
.result-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.result-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.result-header h3 { margin: 0 0 8px; font-size: 20px; }
.result-header .tracking-no-display { font-size: 14px; color: #475569; }
.status-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600;
}
.status-pending { background: #fff3e0; color: #e65100; }
.status-in_transit { background: #e3f2fd; color: #1565c0; }
.status-at_customs { background: #f3e5f5; color: #7b1fa2; }
.status-delivered { background: #e8f5e9; color: #2e7d32; }
.status-exception { background: #ffebee; color: #c62828; }

/* 物流时间线 */
.tracking-timeline { position: relative; padding-left: 32px; }
.tracking-timeline::before {
    content: ''; position: absolute; left: 11px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, #e2001a, #e0e0e0);
}
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute; left: -32px; top: 4px; width: 24px; height: 24px;
    border-radius: 50%; background: #fff; border: 3px solid #e2001a;
    display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.timeline-item:first-child .timeline-dot { background: #e2001a; border-color: #e2001a; }
.timeline-item:first-child .timeline-dot::after { content: '●'; color: #fff; }
.timeline-content h4 { margin: 0 0 4px; font-size: 15px; }
.timeline-content .timeline-time { font-size: 13px; color: #999; margin: 0 0 4px; }
.timeline-content .timeline-location { font-size: 14px; color: #475569; }
.timeline-content .timeline-desc { font-size: 14px; color: #1e293b; margin: 4px 0 0; }

/* 运单信息 */
.shipment-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.info-item { background: #f8f9fa; padding: 16px; border-radius: 10px; }
.info-item .info-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.info-item .info-value { font-size: 15px; font-weight: 600; color: #1e293b; }

/* 我的运单列表 */
.my-shipments-section { padding: 30px 0; }
.shipments-filter { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 20px; border: 1px solid #e0e0e0; background: #fff;
    border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.3s;
}
.filter-btn.active { background: #e2001a; color: #fff; border-color: #e2001a; }
.shipments-list { display: grid; gap: 16px; }
.shipment-card {
    background: #fff; border-radius: 12px; padding: 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06); border-left: 4px solid #e2001a;
    display: flex; justify-content: space-between; align-items: center; transition: transform 0.2s;
}
.shipment-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.shipment-card-left h4 { margin: 0 0 6px; font-size: 16px; }
.shipment-card-left .tracking-no { font-size: 14px; color: #e2001a; font-weight: 600; }
.shipment-card-left .route { font-size: 13px; color: #475569; margin-top: 4px; }
.shipment-card-right { text-align: right; }

/* 物流特色 */
.logistics-features { padding: 60px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; color: #e2001a; font-size: 12px; letter-spacing: 2px; margin-bottom: 8px; }
.section-header h2 { font-size: 28px; margin: 0 0 8px; }
.section-header p { color: #475569; font-size: 15px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-card {
    text-align: center; padding: 32px 20px; border-radius: 16px;
    background: linear-gradient(135deg, #f8f9fa, #fff); border: 1px solid #f0f0f0;
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); border-color: #e2001a; }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin: 0 0 8px; }
.feature-card p { color: #475569; font-size: 14px; margin: 0; line-height: 1.6; }

/* 物流流程 */
.logistics-flow { padding: 60px 0; background: #e2e8f0; }
.flow-steps-horizontal { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow-step-item { text-align: center; padding: 20px; min-width: 120px; }
.flow-step-item .step-num { font-size: 14px; color: #e2001a; font-weight: 700; margin-bottom: 8px; }
.flow-step-item .step-icon { font-size: 32px; margin-bottom: 8px; }
.flow-step-item h4 { font-size: 14px; margin: 0 0 4px; }
.flow-step-item p { font-size: 12px; color: #999; margin: 0; }
.flow-line { width: 40px; height: 2px; background: #e0e0e0; align-self: center; }

/* 响应式 */
@media (max-width: 768px) {
    .tracking-input-group { flex-direction: column; }
    .result-header { flex-direction: column; gap: 12px; }
    .flow-steps-horizontal { flex-direction: column; }
    .flow-line { width: 2px; height: 30px; }
}
