/* 订单支持页面样式 */
body.order-page {
    background-color: #fff;
}

/* 订单支持横幅 */
.order-banner {
    position: relative;
    width: 90%;
    height: 420px;
    background-image: url('../images/order-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.order-banner .banner-title {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.order-banner .banner-title h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.order-banner .banner-title p.english-title {
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* 订单内容区域 */
.order-content {
    padding: 0 0 60px;
}

.order-content .container {
    max-width: 1200px;
}

/* 选项卡导航 */
.order-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.order-tabs .tab {
    padding: 15px 30px;
    font-size: 18px;
    color: #666;
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.order-tabs .tab.active {
    color: #0056b3;
    font-weight: 600;
}

.order-tabs .tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0056b3;
}

/* 小程序下单 */
.mini-program {
    text-align: center;
    margin-bottom: 60px;
}

.mini-program h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.mini-program p.english-title {
    font-size: 16px;
    color: #888;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.qrcode-container {
    display: inline-block;
    margin: 0 auto;
}

.qrcode-container img {
    width: 160px;
    height: 160px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.qrcode-container p {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
}

/* 下单操作流程 */
.order-process {
    text-align: center;
}

.order-process h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.order-process p.english-title {
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
    text-align: left;
}

/* 左侧步骤说明 */
.process-steps {
    flex: 0 0 30%;
    border-right: 1px solid #e0e0e0;
    padding-right: 30px;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.step-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
    font-weight: 600;
}

.step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 右侧流程图示 */
.process-flow {
    flex: 0 0 65%;
    padding-left: 20px;
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.flow-step {
    flex: 0 0 calc(50% - 20px);
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

.flow-number {
    width: 40px;
    height: 40px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 10px;
}

.flow-step h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
}

.flow-image {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.flow-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}

.flow-desc {
    padding: 0 10px;
}

.flow-desc p {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px;
    line-height: 1.5;
    position: relative;
    padding-left: 12px;
}

.flow-desc p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background-color: #0056b3;
    border-radius: 50%;
}

/* 下单操作流程 - 整张图片显示 */
.process-img-container {
    width: 100%;
    margin: 30px auto 50px;
    text-align: center;
    overflow: hidden;
}

.process-full-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.process-full-img:hover {
    transform: scale(1.02);
}

/* 图片放大模态框样式 */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 订单跟踪样式 */
.order-tracking {
    text-align: center;
    width: 100%;
}

.order-tracking h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.order-tracking p.english-title {
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tracking-container {
    margin: 0 auto;
    width: 100%;
    height: 900px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.tracking-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 在订单跟踪tab激活时，让container可以占据更多宽度 */
.order-tracking:only-child {
    max-width: 100%;
}

/* 响应式设计优化 */
@media (max-width: 992px) {
    .process-container {
        flex-direction: column;
    }
    
    .process-steps {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .process-flow {
        flex: 0 0 100%;
        padding-left: 0;
    }

    .tracking-container {
        height: 800px;
    }
    
    .step {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .order-banner {
        height: 320px;
    }
    
    .order-banner .banner-title h1 {
        font-size: 28px;
    }
    
    .order-banner .banner-title p.english-title {
        font-size: 18px;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-step {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .order-tabs {
        display: flex;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .order-tabs .tab {
        padding: 12px 20px;
        font-size: 16px;
        white-space: nowrap;
    }

    .tracking-container {
        height: 750px;
        margin-top: 0;
        border-radius: 0;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .step-content p {
        font-size: 15px;
    }
    
    .flow-number {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .process-img-container {
        margin: 20px auto 30px;
    }
}

@media (max-width: 576px) {
    .order-banner {
        height: 250px;
    }
    
    .order-banner .banner-title h1 {
        font-size: 24px;
    }
    
    .order-banner .banner-title p.english-title {
        font-size: 16px;
    }

    .tracking-container {
        height: 650px;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .qrcode-container img {
        width: 180px;
        height: 180px;
    }
    
    .qrcode-container p {
        font-size: 14px;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
    }
    
    .step-content {
        width: calc(100% - 55px);
    }
    
    .order-process h2,
    .mini-program h2 {
        font-size: 20px;
    }
    
    .order-process p.english-title,
    .mini-program p.english-title {
        font-size: 16px;
    }
} 