/* 订单查询样式 */
.module-tracking { display: inline-flex; align-items: center; position: relative; height: 39px; margin-right: 15px; margin-left: 20px; }
@media (max-width: 991.98px) { .module-tracking { width: 100%; margin-right: 0; margin-bottom: 10px; } }
.tracking-search-form { margin: 0; }
.tracking-input-wrapper { display: flex; align-items: center; background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; padding: 0 10px; height: 35px; transition: all 0.3s ease; }
.tracking-input-wrapper:hover { background-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); }
.tracking-input { border: none; background: transparent; color: #ffffff; font-size: 13px; font-weight: 400; width: 200px; padding: 0 8px; outline: none; }
.tracking-input::placeholder { color: rgba(255, 255, 255, 0.7); }
.tracking-search-btn { background: transparent; border: none; color: #ffffff; cursor: pointer; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.tracking-search-btn:hover { color: #e11d07; transform: scale(1.1); }
@media (max-width: 991.98px) {
    .tracking-input-wrapper { width: 100%; background-color: #f5f5f5; border-color: #eaeaea; }
    .tracking-input { color: #1b1a1a; width: 100%; flex: 1; }
    .tracking-input::placeholder { color: #9b9b9b; }
    .tracking-search-btn { color: #1b1a1a; }
}
.navbar-fixed .tracking-input-wrapper { background-color: rgba(27, 26, 26, 0.1); border-color: rgba(27, 26, 26, 0.2); }
.navbar-fixed .tracking-input { color: #1b1a1a; }
.navbar-fixed .tracking-input::placeholder { color: #9b9b9b; }
.navbar-fixed .tracking-search-btn { color: #1b1a1a; }
.tracking-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; align-items: center; justify-content: center; }
.tracking-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(2px); }
.tracking-modal-content { position: relative; background-color: #ffffff; border-radius: 8px; width: 95%; max-width: 1400px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); animation: modalSlideIn 0.3s ease; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.tracking-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; border-bottom: 1px solid #eaeaea; position: relative; }
.tracking-modal-header h3 { font-family: "Rubik", sans-serif; font-size: 24px; font-weight: 600; color: #1b1a1a; margin: 0; flex: 1; }
.tracking-lang-toggle { display: flex; gap: 5px; margin-right: 15px; }
.tracking-lang-toggle .lang-btn { background-color: #f5f5f5; border: 1px solid #eaeaea; color: #9b9b9b; font-size: 13px; padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; }
.tracking-lang-toggle .lang-btn:hover { background-color: #eaeaea; color: #1b1a1a; }
.tracking-lang-toggle .lang-btn.active { background-color: #e11d07; border-color: #e11d07; color: #ffffff; }
.tracking-modal-close { background: transparent; border: none; font-size: 24px; color: #9b9b9b; cursor: pointer; padding: 5px; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; }
.tracking-modal-close:hover { background-color: #f5f5f5; color: #e11d07; }
.tracking-modal-body { padding: 30px; overflow-y: auto; flex: 1; }
.tracking-loading { text-align: center; padding: 60px 20px; }
.spinner { border: 4px solid #f3f3f3; border-top: 4px solid #e11d07; border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.tracking-loading p { color: #9b9b9b; font-size: 16px; margin: 0; }
.tracking-error { padding: 40px 20px; text-align: center; }
.error-message { color: #f56c6c; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.error-message i { font-size: 20px; }
.tracking-result { display: flex; flex-direction: column; height: 100%; }
.tracking-content-wrapper { display: flex; gap: 30px; height: calc(90vh - 200px); min-height: 600px; }
@media (max-width: 1200px) { .tracking-content-wrapper { flex-direction: column; height: auto; min-height: auto; } }
.tracking-timeline-wrapper { flex: 0 0 40%; max-width: 40%; background-color: #fafafa; border-radius: 8px; padding: 20px; overflow-y: auto; }
@media (max-width: 1200px) { .tracking-timeline-wrapper { flex: 1; max-width: 100%; max-height: 400px; } }
.tracking-timeline-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #eaeaea; }
.tracking-timeline-header h4 { font-family: "Rubik", sans-serif; font-size: 18px; font-weight: 600; color: #1b1a1a; margin: 0; }
.tracking-no-display { font-size: 14px; color: #9b9b9b; font-weight: 400; }
.tracking-address-container { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #eaeaea; }
.address-item { margin-bottom: 15px; padding: 12px 15px; background-color: #ffffff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); }
.address-item:last-child { margin-bottom: 0; }
.address-label { font-size: 13px; color: #9b9b9b; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.address-label i { color: #409EFF; font-size: 14px; }
.address-value { font-size: 14px; color: #1b1a1a; font-weight: 500; line-height: 1.6; }
.pickup-address .address-label i { color: #52c41a; }
.ship-address .address-label i { color: #f5222d; }
.tracking-timeline-container { padding: 10px 0; }
.timeline-item { position: relative; padding-left: 40px; padding-bottom: 30px; border-left: 2px solid #eaeaea; }
.timeline-item:last-child { border-left: none; padding-bottom: 0; }
.timeline-item.current { border-left-color: #409EFF; }
.timeline-item.completed { border-left-color: #67C23A; }
.timeline-item.pending { border-left-color: #eaeaea; }
.timeline-marker { position: absolute; left: -10px; top: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid #ffffff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.timeline-marker i { color: #ffffff; font-size: 10px; }
.timeline-content { background-color: #ffffff; border-radius: 6px; padding: 15px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.timeline-time { font-size: 12px; color: #9b9b9b; margin-bottom: 8px; }
.timeline-title { font-family: "Rubik", sans-serif; font-size: 16px; font-weight: 600; color: #1b1a1a; margin-bottom: 10px; }
.timeline-detail { font-size: 14px; color: #616161; line-height: 1.6; }
.timeline-detail p { margin: 5px 0; }
.timeline-detail strong { color: #409EFF; font-weight: 600; }
.timeline-detail .detail-description { padding: 12px 0; line-height: 1.8; }
.timeline-detail .detail-description p { margin: 8px 0; font-size: 14px; color: #606266; line-height: 1.8; }
.timeline-detail .detail-description p:first-child { margin-top: 0; }
.timeline-detail .detail-description p:last-child { margin-bottom: 0; }
.timeline-detail .highlight { color: #409EFF; font-weight: 600; padding: 0 2px; }
.timeline-detail .signature-images { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-detail .signature-image img { transition: transform 0.3s; }
.timeline-detail .signature-image img:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.tracking-map-wrapper { flex: 0 0 60%; max-width: 60%; background-color: #fafafa; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; }
@media (max-width: 1200px) { .tracking-map-wrapper { flex: 1; max-width: 100%; min-height: 500px; } }
.tracking-map-header { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 2px solid #eaeaea; }
.tracking-map-header h4 { font-family: "Rubik", sans-serif; font-size: 18px; font-weight: 600; color: #1b1a1a; margin: 0; }
.tracking-map-container { flex: 1; border-radius: 6px; overflow: hidden; min-height: 500px; background-color: #eaeaea; }
.tracking-timeline-container::-webkit-scrollbar, .tracking-modal-body::-webkit-scrollbar { width: 8px; }
.tracking-timeline-container::-webkit-scrollbar-track, .tracking-modal-body::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 4px; }
.tracking-timeline-container::-webkit-scrollbar-thumb, .tracking-modal-body::-webkit-scrollbar-thumb { background: #c0c4cc; border-radius: 4px; }
.tracking-timeline-container::-webkit-scrollbar-thumb:hover, .tracking-modal-body::-webkit-scrollbar-thumb:hover { background: #909399; }

