* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* firefox*/
    -webkit-box-sizing: border-box;
    /* chrome safari*/
    -ms-box-sizing: border-box;
    /* IE8一下 */
    -o-box-sizing: border-box;
    /* presto opera*/
}

section {
    min-width: 1920px;
}

.other {
    margin-top: 104px;
    min-width: 1920px;
    background-image: url(../images/bg_02.jpg);
    background-size: cover;
    padding: 200px 0;
    color: #3D3D3D;
    display: grid;
    grid-template-columns: repeat(4, 310px);
    justify-content: center;
}

.other > div {
    position: relative;
}

.other > div > img {
    width: 100%;
}

.other > div > .text {
    position: absolute;
    top: 278px;
    padding: 0 70px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
    text-transform: none;
}

.track-section {
    margin-top: 150px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.title {
    font-size: 40px; /* 2.5rem → 40px */
    margin-bottom: 32px; /* 2rem → 32px */
}

.title span {
    color: #1A45BE;
}

.track-container {
    background: #F9F9F9;
    padding: 32px; /* 2rem → 32px */
    border-radius: 10px;
    width: 1200px;
}

.tracking-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 12.8px; /* 0.8rem → 12.8px */
    margin-bottom: 24px; /* 1.5rem → 24px */
}

.tracking-tag {
    background: #FFFFFF;
    padding: 8px 12.8px; /* 0.5rem → 8px；0.8rem → 12.8px */
    border-radius: 20px;
    border: 1px solid #EAEAEA;
    display: flex;
    align-items: center;
    gap: 8px; /* 0.5rem → 8px */
}

.tracking-tag button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px; /* 1rem → 16px */
    color: #666;
}

.input-group {
    display: flex;
    gap: 16px; /* 1rem → 16px */
    align-items: center;
}

.input-group input {
    flex: 1;
    padding: 12.8px; /* 0.8rem → 12.8px */
    border: 1px solid #EAEAEA;
    border-radius: 5px;
    height: 60px;
    font-size: 16px;
}

/* 可复用 Layui 按钮样式，同时保留自定义风格 */
.btn {
    height: 60px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    padding: 0 40px;
    margin-left: unset !important;
}

.btn-clear {
    background: #3D3D3D;
    color: #fff;
}

.btn-track {
    background: #FFD30A;
    color: #fff;
}

.btn-17track {
    background-color: #1A45BE;
    padding: 0 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: normal;
    padding-top: 8px;
}

.note {
    margin-top: 16px; /* 1rem → 16px */
    color: #666;
    font-size: 14.4px; /* 0.9rem → 14.4px */
}

/* 禁用输入框的样式优化（可选） */
input:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
    color: #999;
}


.tracking-card {
    width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tracking-info {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.tracking-info > div:first-child {
    width: 250px;
    text-align: left;
}

.tracking-info > div:nth-child(2) {
    width: 200px;
    text-align: left;
}

.tracking-info > div:nth-child(3) {
    width: 120px;
}

.tracking-info > div:nth-child(4) {
    flex: 1;
    padding: 0 20px;
    text-align: left;
}

.tracking-info > div:last-child {
    margin-left: auto; /* 关键：auto margin将按钮推到最右边 */
}

.btn-expand {
    background-color: #0D3FC2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
}

.status-badge.delivered {
    background-color: rgba(74, 222, 128, 0.1);
    color: #16a34a;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-badge.transit {
    background-color: #fffaeb;
    color: #dc6803;
    border: 1px solid #fec84b;
}

.timeline-container {
    display: flex;
    gap: 30px;
    padding: 20px;
    background: #fafafa;
}

.action-panel {
    flex: 0 0 300px;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 14px;
    color: #666;
}

.contact-info p {
    margin: 5px 0;
}

.contact-info .title {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info .email {
    color: #ff4b2b;
    font-weight: 500;
}

.timeline-panel {
    flex: 1;
}

.layui-timeline-item {
    padding-bottom: 10px;
}

.layui-timeline-title {
    margin: 0 !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 16px !important;
}

.layui-text p {
    margin: 0 !important;
}

.layui-timeline-content {
    color: #666 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
    }

    .action-panel {
        flex: none;
        width: 100%;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}