/* ============================================================
   物流跟踪页面专属样式
   ============================================================ */

/* 横幅图 */
.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 61, 122, 0.8) 0%, rgba(0, 61, 122, 0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.banner-title {
    font-size: 48px;
    color: #ffffff;
    font-weight: 300;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 28px;
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* 追踪卡片 */
.track-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.track-card {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 70px 90px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.track-title {
    text-align: center;
    font-size: 28px;
    color: #333333;
    font-weight: 600;
    margin-bottom: 45px;
}

.track-form {
    display: flex;
    flex-direction: column;
}

.track-label {
    font-size: 16px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 12px;
}

.track-input {
    width: 100%;
    height: 56px;
    border: 1px solid #dfe6ee;
    border-radius: 6px;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.track-input::placeholder {
    color: #b0b8c1;
}

.track-input:focus {
    border-color: #c9d6e4;
}

.track-btn {
    margin-top: 26px;
    height: 56px;
    border: none;
    border-radius: 6px;
    background-color: #f3a013;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.track-btn:hover {
    background-color: #e9950c;
}

.track-btn i {
    font-size: 18px;
}

.track-result {
    margin-top: 26px;
    border-top: 1px solid #eef2f6;
    padding-top: 22px;
}

.track-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.track-company {
    font-size: 16px;
    color: #333333;
    font-weight: 600;
}

.track-code {
    font-size: 16px;
    color: #111111;
    font-weight: 500;
}

.track-copy-btn {
    margin-left: auto;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #dfe6ee;
    background-color: #ffffff;
    color: #666666;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}

.track-copy-btn:hover {
    border-color: #c9d6e4;
    color: #333333;
}

.track-timeline {
    position: relative;
    padding-left: 28px;
}

.track-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-color: #e6ebf1;
}

.track-node {
    position: relative;
    padding: 0 0 22px 0;
}

.track-node:last-child {
    padding-bottom: 0;
}

.track-node::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cfd6de;
}

.track-node.active::before {
    background-color: #e53935;
}

.track-node-title {
    font-size: 16px;
    color: #333333;
    font-weight: 600;
    margin-bottom: 8px;
}

.track-node.active .track-node-title {
    color: #e53935;
}

.track-node-time {
    font-size: 14px;
    color: #999999;
    font-weight: 400;
    margin-left: 8px;
}

.track-node-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

/* 响应式 */
@media (max-width: 1024px) {
    .track-card {
        padding: 55px 50px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .banner-content {
        padding: 0 20px;
    }

    .track-section {
        padding: 40px 0;
    }

    .track-card {
        border-radius: 8px;
        padding: 35px 20px;
    }

    .track-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .track-label {
        font-size: 14px;
    }

    .track-input {
        height: 50px;
        font-size: 14px;
    }

    .track-btn {
        height: 50px;
        font-size: 16px;
    }

    .track-copy-btn {
        margin-left: 0;
    }
}
