@charset "UTF-8";
/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 20px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #2b97f2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #666;
}

/* 页面标题 */
.page-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f9f0;
    font-weight: 700;
}

/* 订单查询区域 */
.order-search-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.search-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.search-form {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.search-input:focus {
    outline: none;
    border-color: #2b97f2;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.1);
}

.search-btn {
    background-color: #2b97f2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #0f7cd5;
}

.search-hint {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.search-hint i {
    color: #2b97f2;
    margin-right: 5px;
}

/* 订单列表 */
.order-list-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.order-list-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.order-table th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #eee;
}

.order-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.order-table tr:hover {
    background-color: #f9f9f9;
}

.order-id {
    font-weight: 600;
    color: #2b97f2;
}

.order-product {
    font-weight: 500;
}

.order-price {
    font-weight: 600;
    color: #e53935;
}

.order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-paid {
    background-color: #f0f9f0;
    color: #2b97f2;
}

.status-pending {
    background-color: #fff3e0;
    color: #ff9800;
}

.status-delivered {
    background-color: #e3f2fd;
    color: #2196f3;
}

.status-completed {
    background-color: #f5f5f5;
    color: #666;
}

.order-action-btn {
    background-color: #2b97f2;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.order-action-btn:hover {
    background-color: #0f7cd5;
}

.no-orders {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-orders i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 20px;
}

/* 订单详情 */
.order-detail-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    display: none;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.detail-title {
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.close-detail {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
}

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-label {
    color: #999;
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 15px;
    font-weight: 500;
}

.download-btn {
    background-color: #2b97f2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background-color: #0f7cd5;
}



/* 手机端适配 */
@media (max-width: 768px) {
    /* 订单查询适配 */
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    /* 订单表格适配 */
    .order-table {
        display: block;
        overflow-x: auto;
    }
    
    .order-table th,
    .order-table td {
        min-width: 120px;
    }
    
    /* 订单详情适配 */
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    /* 底部适配 - 在手机端隐藏底部内容，显示底部菜单 */
    .footer-content {
        display: none;
    }
    
    .footer-menu {
        display: block;
    }
    
    .order-search-section,
    .order-list-section,
    .order-detail-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
}

@media (max-width: 480px) {
    .order-table {
        font-size: 13px;
    }
    
    .order-table th,
    .order-table td {
        padding: 10px 8px;
        min-width: 100px;
    }
}