:root {
    --navy: #0B1D3A;
    --navy-light: #152744;
    --navy-dark: #061228;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #B8973D;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --text-dark: #1A1A2E;
    --text-light: #6C757D;
    --shadow: 0 4px 20px rgba(11, 29, 58, 0.15);
    --shadow-hover: 0 8px 30px rgba(11, 29, 58, 0.25);
    --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.4);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--off-white);
    min-height: 100vh;
}

/* ─── Header ─── */
.tracking-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.tracking-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}
.header-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}
.header-logo:hover { opacity: 0.9; }
.logo-icon {
    width: 42px; height: 42px;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    border-radius: 8px;
    letter-spacing: -1px;
}
.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-selector {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 3px;
}
.lang-selector a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}
.lang-selector a.active,
.lang-selector a:hover {
    background: var(--gold);
    color: var(--navy);
}
.back-to-site {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}
.back-to-site:hover { color: var(--gold); }

/* ─── Main Content ─── */
.tracking-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ─── Hero Section ─── */
.tracking-hero {
    text-align: center;
    margin-bottom: 40px;
}
.tracking-hero h1 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.tracking-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ─── Search Box ─── */
.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}
.search-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.search-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    font-size: 1.1rem;
    transition: var(--transition);
    outline: none;
}
.search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.search-btn {
    padding: 16px 40px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.search-btn:hover {
    background: var(--gold-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* ─── Info Card ─── */
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.info-card h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.info-item {
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}
.info-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ─── Status Badge ─── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}
.status-badge.status-已接单 { background: #E8F5E9; color: #2E7D32; }
.status-badge.status-已装车 { background: #E3F2FD; color: #1565C0; }
.status-badge.status-运输中 { background: #FFF3E0; color: #E65100; }
.status-badge.status-清关中 { background: #F3E5F5; color: #6A1B9A; }
.status-badge.status-派送中 { background: #E0F7FA; color: #00695C; }
.status-badge.status-已送达 { background: #E8F5E9; color: #1B5E20; }

/* ─── Timeline ─── */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light), #E2E8F0);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}
.timeline-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold-light);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold-light);
}
.timeline-item:first-child::before {
    width: 18px;
    height: 18px;
    left: -35px;
    top: 22px;
    background: var(--navy);
    box-shadow: 0 0 0 3px var(--gold);
}
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.timeline-status {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
}
.timeline-time {
    font-size: 0.85rem;
    color: var(--text-light);
}
.timeline-remark {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ─── Photos in Timeline ─── */
.timeline-photos {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.timeline-photo-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #E2E8F0;
    transition: var(--transition);
}
.timeline-photo-thumb:hover {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* ─── Lightbox ─── */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10000;
}

/* ─── No Results ─── */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.no-results-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}
.no-results h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.no-results a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gold);
    color: var(--navy);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.no-results a:hover {
    background: var(--gold-dark);
}

/* ─── Admin Styles ─── */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.admin-card h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

/* Login */
.login-form {
    max-width: 400px;
    margin: 60px auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}
.login-form h2 {
    color: var(--navy);
    margin-bottom: 24px;
}
.login-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    font-size: 1rem;
    margin-bottom: 16px;
    outline: none;
    transition: var(--transition);
}
.login-input:focus {
    border-color: var(--gold);
}
.login-btn {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.login-btn:hover {
    background: var(--gold-dark);
}

/* Upload */
.upload-zone {
    border: 2px dashed #CBD5E0;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 16px;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}
.upload-zone-icon { font-size: 3rem; margin-bottom: 12px; }
.upload-zone-text { color: var(--text-light); font-size: 1rem; }
.upload-zone-hint { color: var(--text-light); font-size: 0.85rem; margin-top: 8px; }
.file-name-display {
    margin-top: 12px;
    font-weight: 600;
    color: var(--navy);
}
.upload-btn {
    padding: 14px 40px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.upload-btn:hover { background: var(--gold-dark); }
.upload-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Preview Table */
.preview-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}
.preview-table th {
    background: var(--navy);
    color: var(--white);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
}
.preview-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #E2E8F0;
}
.preview-table tr:hover td {
    background: rgba(201, 168, 76, 0.05);
}
.preview-table .is-update {
    background: rgba(201, 168, 76, 0.08);
}
.badge-new {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-update {
    background: #FFF3E0;
    color: #E65100;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Confirm Button */
.confirm-btn {
    padding: 16px 48px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}
.confirm-btn:hover {
    background: #1B5E20;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Upload History */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.history-table th {
    background: var(--navy);
    color: var(--white);
    padding: 10px 14px;
    text-align: left;
}
.history-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #E2E8F0;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 20px;
}
.flash-msg {
    font-size: 1.05rem;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-weight: 500;
}
.flash-msg.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}
.flash-msg.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* Admin Actions */
.admin-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.admin-actions a {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}
.btn-template {
    background: var(--navy);
    color: var(--white);
}
.btn-template:hover { background: var(--navy-light); }
.btn-logout {
    background: #FFEBEE;
    color: #C62828;
}
.btn-logout:hover { background: #FFCDD2; }

/* ─── Footer ─── */
.tracking-footer {
    text-align: center;
    padding: 24px;
    color: var(--text-light);
    font-size: 0.85rem;
    border-top: 1px solid #E2E8F0;
    margin-top: 40px;
}
.tracking-footer a { color: var(--gold-dark); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .tracking-hero h1 { font-size: 1.6rem; }
    .search-form { flex-direction: column; }
    .search-btn { width: 100%; }
    .info-grid { grid-template-columns: 1fr; }
    .header-inner { padding: 12px 16px; }
    .tracking-main { padding: 24px 16px 40px; }
    .search-box { padding: 24px; }
    .timeline { padding-left: 30px; }
    .timeline-item { padding: 16px; }
    .preview-table { font-size: 0.8rem; }
    .preview-table th, .preview-table td { padding: 6px 8px; }
}

/* Delete & Manage Styles */
.btn-manage {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #0B1D3A;
    color: #C9A84C;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-manage:hover {
    background: #162d50;
    transform: translateY(-1px);
}
.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #e2e8f0;
    color: #0B1D3A;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-back:hover {
    background: #cbd5e1;
}
.btn-delete-sm {
    background: none;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    color: #dc2626;
}
.btn-delete-sm:hover {
    background: #fef2f2;
    border-color: #dc2626;
    transform: scale(1.1);
}
.manage-table td {
    vertical-align: middle;
}
.manage-table tr:hover {
    background: #f8fafc;
}

.btn-manage {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #0B1D3A;
    color: #C9A84C;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-manage:hover {
    background: #162d50;
    transform: translateY(-1px);
}
.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #e2e8f0;
    color: #0B1D3A;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-back:hover {
    background: #cbd5e1;
}
.btn-delete-sm {
    background: none;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    color: #dc2626;
}
.btn-delete-sm:hover {
    background: #fef2f2;
    border-color: #dc2626;
    transform: scale(1.1);
}
.manage-table td {
    vertical-align: middle;
}
.manage-table tr:hover {
    background: #f8fafc;
}

/* ===== V2 Upgrade Styles ===== */

/* V2 Search */
.v2-search-section { margin-bottom: 24px; }
.v2-search-box {
    display: flex; gap: 8px;
    background: var(--white); border: 2px solid #E2E0DA;
    border-radius: 10px; padding: 6px;
    transition: border-color 0.2s;
}
.v2-search-box:focus-within { border-color: var(--gold); }
.v2-search-input {
    flex: 1; border: none; outline: none;
    font-size: 1rem; padding: 8px 16px;
    font-family: var(--font-body); color: var(--navy);
    background: transparent;
}
.v2-search-input::placeholder { color: #8896A6; }
.v2-search-btn {
    background: var(--navy); color: var(--white); border: none;
    padding: 10px 28px; border-radius: 8px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    font-family: var(--font-body); transition: background 0.2s;
    white-space: nowrap;
}
.v2-search-btn:hover { background: #152744; }
.v2-share-hint {
    text-align: center; padding: 10px 16px;
    background: rgba(201,168,76,0.08); border-radius: 8px;
    color: #8896A6; font-size: 0.85rem; margin-bottom: 20px;
}

/* V2 Status Banner */
.v2-status-banner {
    background: linear-gradient(135deg, #061228 0%, #0B1D3A 50%, #152744 100%);
    border-radius: 16px; padding: 28px 32px;
    margin-bottom: 20px; color: #fff;
    position: relative; overflow: hidden;
}
.v2-status-banner::after {
    content: ''; position: absolute;
    top: -50%; right: -20%; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, transparent 70%);
    pointer-events: none;
}
.v2-banner-top {
    display: flex; justify-content: space-between;
    align-items: flex-start; margin-bottom: 20px;
    position: relative; z-index: 1;
}
.v2-banner-tracking {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85rem; color: #E8D9A0; margin-bottom: 4px;
}
.v2-banner-customer { font-size: 1.3rem; font-weight: 700; }
.v2-banner-eta { text-align: right; position: relative; z-index: 1; }
.v2-banner-eta-label {
    font-size: 0.75rem; color: #E8D9A0;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}
.v2-banner-eta-date { font-size: 1.4rem; font-weight: 700; color: #C9A84C; }

/* Progress */
.v2-progress-container { position: relative; z-index: 1; margin-top: 16px; }
.v2-progress-labels {
    display: flex; justify-content: space-between;
    font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 8px;
}
.v2-transfer-label { color: #E8D9A0; font-size: 0.7rem; }
.v2-progress-track {
    width: 100%; height: 6px;
    background: rgba(255,255,255,0.15); border-radius: 3px; overflow: hidden;
}
.v2-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C9A84C 0%, #E8D9A0 100%);
    border-radius: 3px; position: relative;
    transition: width 0.6s ease;
}
.v2-progress-fill::after {
    content: ''; position: absolute;
    right: 0; top: -3px; width: 12px; height: 12px;
    background: #C9A84C; border-radius: 50%;
    box-shadow: 0 0 8px rgba(201,168,76,0.3);
}
.v2-progress-step {
    text-align: center; font-size: 0.8rem;
    color: rgba(255,255,255,0.7); margin-top: 8px;
}
.v2-progress-step strong { color: #C9A84C; font-size: 1rem; }

/* Status Badge */
.v2-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600;
}
.v2-status-badge.v2-in-transit { background: #FFF3D6; color: #9A7B1A; }
.v2-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold); animation: v2-pulse 2s infinite;
}
@keyframes v2-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Info Grid */
.v2-info-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 20px;
}
.v2-info-card {
    background: var(--white); border-radius: 10px;
    padding: 24px; box-shadow: 0 1px 3px rgba(11,29,58,0.06);
    border: 1px solid #EDECE8;
}
.v2-card-title {
    font-size: 0.75rem; font-weight: 600;
    color: #8896A6; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 16px;
}
.v2-detail-rows { display: flex; flex-direction: column; gap: 8px; }
.v2-detail-row {
    display: flex; justify-content: space-between;
    align-items: center; font-size: 0.9rem; padding: 4px 0;
}
.v2-detail-label { color: #4A5568; }
.v2-detail-value { font-weight: 500; text-align: right; }

/* Timeline Card */
.v2-timeline-card {
    background: var(--white); border-radius: 10px;
    padding: 28px; box-shadow: 0 1px 3px rgba(11,29,58,0.06);
    border: 1px solid #EDECE8; margin-bottom: 20px;
}
.v2-timeline {
    position: relative; padding-left: 32px;
}
.v2-timeline::before {
    content: ''; position: absolute;
    left: 11px; top: 8px; bottom: 8px;
    width: 2px; background: #E2E0DA;
}
.v2-timeline-item {
    position: relative; padding-bottom: 24px;
}
.v2-timeline-item:last-child { padding-bottom: 0; }

.v2-timeline-node {
    position: absolute; left: -32px; top: 2px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
}
.v2-node-completed {
    width: 14px; height: 14px;
    background: var(--navy); border-radius: 50%;
    border: 3px solid #F4F3EF;
    box-shadow: 0 0 0 2px var(--navy);
    display: flex; align-items: center; justify-content: center;
}
.v2-node-current {
    width: 18px; height: 18px;
    background: var(--gold); border-radius: 50%;
    border: 3px solid #F4F3EF;
    box-shadow: 0 0 0 3px var(--gold), 0 0 12px rgba(201,168,76,0.3);
    animation: v2-pulse-node 2s infinite;
}
@keyframes v2-pulse-node {
    0%,100%{ box-shadow: 0 0 0 3px var(--gold), 0 0 12px rgba(201,168,76,0.3); }
    50%{ box-shadow: 0 0 0 5px rgba(201,168,76,0.3), 0 0 20px rgba(201,168,76,0.3); }
}
.v2-node-future {
    width: 12px; height: 12px;
    background: var(--white); border-radius: 50%;
    border: 2px solid #E2E0DA;
}
.v2-timeline-content {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 16px;
}
.v2-timeline-text { flex: 1; }
.v2-timeline-status {
    font-size: 0.95rem; font-weight: 600;
    color: var(--navy); margin-bottom: 2px;
}
.v2-future-text { color: #8896A6 !important; }
.v2-timeline-item.current .v2-timeline-status { color: var(--gold); }
.v2-timeline-remark {
    font-size: 0.82rem; color: #4A5568; margin-top: 4px;
}
.v2-timeline-time {
    font-size: 0.8rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: #8896A6; white-space: nowrap; flex-shrink: 0;
}
.v2-time-current { color: var(--gold); font-weight: 600; }

/* Timeline Photos */
.v2-timeline-photos {
    display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}
.v2-timeline-photo-thumb {
    width: 70px; height: 70px; object-fit: cover;
    border-radius: 6px; cursor: pointer;
    border: 2px solid #EDECE8; transition: all 0.2s;
}
.v2-timeline-photo-thumb:hover {
    border-color: var(--gold); transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(11,29,58,0.08);
}

/* Photos Card */
.v2-photos-card {
    background: var(--white); border-radius: 10px;
    padding: 24px; box-shadow: 0 1px 3px rgba(11,29,58,0.06);
    border: 1px solid #EDECE8; margin-bottom: 20px;
}
.v2-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.v2-photo-item {
    aspect-ratio: 4/3; border-radius: 6px;
    overflow: hidden; cursor: pointer;
    border: 1px solid #EDECE8;
    transition: transform 0.2s, box-shadow 0.2s;
}
.v2-photo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11,29,58,0.08);
}
.v2-photo-img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Share Section */
.v2-share-section {
    text-align: center; margin: 20px 0;
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.v2-share-btn {
    background: var(--navy); color: var(--gold);
    border: none; padding: 10px 24px; border-radius: 8px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    font-family: var(--font-body); transition: all 0.2s;
}
.v2-share-btn:hover { background: #152744; transform: translateY(-1px); }
.v2-copy-toast {
    color: var(--gold-dark); font-size: 0.85rem; font-weight: 600;
}

/* Contact Card */
.v2-contact-card {
    background: var(--navy); border-radius: 10px;
    padding: 28px; text-align: center; color: var(--white);
    margin-top: 8px;
}
.v2-contact-title { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.v2-contact-channels {
    display: flex; justify-content: center;
    gap: 24px; flex-wrap: wrap;
}
.v2-contact-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; color: #E8D9A0;
    text-decoration: none; transition: color 0.2s;
}
.v2-contact-item:hover { color: var(--gold); }

/* No Results */
.v2-no-results {
    text-align: center; padding: 60px 20px;
    background: var(--white); border-radius: 16px;
    box-shadow: 0 4px 20px rgba(11,29,58,0.15);
}
.v2-no-results h3 {
    color: #6C757D; font-size: 1.3rem; margin-bottom: 20px;
}

/* Import Guide */
.import-guide-content {
    padding: 0 8px;
}
.import-rules-list {
    padding-left: 20px;
    line-height: 2;
    color: var(--navy);
    font-size: 0.95rem;
}
.import-rules-list li {
    margin-bottom: 6px;
}
.import-rules-list b {
    color: #C9A84C;
}
.import-template-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(201,168,76,0.08);
    border-radius: 8px;
    color: #0B1D3A;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .v2-info-grid { grid-template-columns: 1fr; }
    .v2-status-banner { padding: 20px; }
    .v2-banner-top { flex-direction: column; gap: 16px; }
    .v2-banner-eta { text-align: left; }
    .v2-timeline-content { flex-direction: column; gap: 4px; }
    .v2-timeline-time { align-self: flex-start; }
    .v2-contact-channels { flex-direction: column; align-items: center; gap: 12px; }
    .v2-photos-grid { grid-template-columns: repeat(2, 1fr); }
}
