/* P端订单详情页样式 */
.terminal-main {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: auto;
    max-height: calc(100vh - 80px);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.terminal-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 240px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    margin-right: 10px;
}

.search-box .search-btn {
    height: 36px;
    padding: 0 15px;
    background-color: #2fb3ff;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.terminal-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.terminal-tabs .tab {
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.terminal-tabs .tab.active {
    color: #2fb3ff;
}

.terminal-tabs .tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: #2fb3ff;
}

.terminal-filters {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.filter-item span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.filter-item select {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
    min-width: 120px;
}

.filter-btn {
    height: 32px;
    padding: 0 15px;
    background-color: #2fb3ff;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.terminal-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    max-height: calc(100vh - 250px);
}

.terminal-table table {
    width: 100%;
    border-collapse: collapse;
}

.terminal-table th,
.terminal-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.terminal-table th {
    color: #666;
    font-weight: normal;
    background-color: #f9f9f9;
}

.terminal-table td {
    color: #333;
}

.status-delivered,
.status-delivering,
.status-waiting,
.status-pending,
.status-exception {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
}

.status-delivered {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-delivering {
    background-color: #e6fffb;
    color: #13c2c2;
}

.status-waiting {
    background-color: #fff7e6;
    color: #fa8c16;
}

.status-pending {
    background-color: #f9f0ff;
    color: #722ed1;
}

.status-exception {
    background-color: #fff1f0;
    color: #f5222d;
}

.detail-btn {
    color: #2fb3ff;
    text-decoration: none;
}

.detail-btn:hover {
    text-decoration: underline;
}

.terminal-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page, .prev-page, .next-page {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.page.active {
    background-color: #2fb3ff;
    color: #fff;
    border-color: #2fb3ff;
}

.page-info {
    margin-left: 15px;
    font-size: 14px;
    color: #999;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .terminal-table {
        overflow-x: auto;
    }
    
    .terminal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-box {
        margin-top: 15px;
    }
    
    .terminal-filters {
        flex-wrap: wrap;
    }
    
    .filter-item {
        margin-bottom: 10px;
    }
} 