/* 订单查询页面样式 */
.order-search-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.order-search-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.order-search-form .form-group {
    margin-bottom: 20px;
}

.order-search-form label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.order-search-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.order-search-form .form-control:focus {
    border-color: #c62828;
    outline: none;
}

.order-search-form .form-actions {
    display: flex;
    justify-content: center;
}

.order-search-form .btn-primary {
    background-color: #c62828;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.order-search-form .btn-primary:hover {
    background-color: #b71c1c;
}

/* 查询方式选项卡 */
.query-methods {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 30px;
}

.query-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.query-tab {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    position: relative;
    transition: all 0.3s;
}

.query-tab.active {
    color: #e60012;
}

.query-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e60012;
}

.query-form {
    display: none;
    padding: 20px 0;
}

.query-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    padding: 12px 15px;
    width: 100%;
}

.verification-group {
    display: flex;
    gap: 10px;
}

.verification-group input {
    flex: 1;
}

.verification-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    padding: 0 15px;
    white-space: nowrap;
}

.verification-btn:hover {
    background-color: #e8e8e8;
}

.query-btn {
    background-color: #e60012;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    transition: background-color 0.3s;
}

.query-btn:hover {
    background-color: #cc0010;
}

/* 订单结果表格 */
.order-results {
    margin-bottom: 50px;
}

.result-table {
    overflow-x: auto;
}

.result-table table {
    border-collapse: collapse;
    width: 100%;
}

.result-table th {
    background-color: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    padding: 15px;
    text-align: left;
}

.result-table td {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px;
    vertical-align: middle;
}

.show-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.show-name {
    font-weight: 500;
}

.show-time, .show-seat {
    color: #666;
    font-size: 14px;
}

.status {
    border-radius: 20px;
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
}

.status.paid {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status.completed {
    background-color: #f6ffed;
    color: #52c41a;
}

.status.cancelled {
    background-color: #fff2f0;
    color: #ff4d4f;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    padding: 6px 12px;
    transition: all 0.3s;
}

.action-btn.view:hover {
    background-color: #f5f5f5;
}

.action-btn.download {
    border-color: #e60012;
    color: #e60012;
}

.action-btn.download:hover {
    background-color: #e60012;
    color: white;
}

/* 订单详情弹窗 */
.order-detail-modal {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 50px auto;
    max-height: 90vh;
    max-width: 800px;
    overflow-y: auto;
    position: relative;
    width: 90%;
}

.modal-header {
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.modal-header h3 {
    font-size: 20px;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
}

.order-info {
    flex: 1;
    min-width: 300px;
}

.info-group {
    margin-bottom: 25px;
}

.info-group h4 {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-label {
    color: #666;
}

.info-value {
    font-weight: 500;
}

.status-paid {
    color: #1890ff;
}

.ticket-qrcode {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.qrcode-image {
    background-color: #f5f5f5;
    border-radius: 8px;
    margin: 15px 0;
    padding: 20px;
}

.qrcode-image img {
    max-width: 200px;
}

.modal-footer {
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px;
}

.download-btn {
    background-color: #e60012;
    color: white;
}

.close-btn {
    background-color: #f5f5f5;
    color: #333;
}

/* 常见问题 */
.order-faq {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    background-color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    border-top: 1px solid #e0e0e0;
    display: none;
    padding: 20px;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* 客服联系 */
.customer-service {
    padding: 50px 0;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.service-card h2 {
    color: #333;
    margin-bottom: 10px;
}

.service-card > p {
    color: #666;
    margin-bottom: 30px;
}

.service-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-contact {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 250px;
}

.contact-icon {
    background-color: #f5f5f5;
    border-radius: 50%;
    height: 80px;
    margin-bottom: 15px;
    padding: 20px;
    width: 80px;
}

.contact-icon img {
    height: 100%;
    width: 100%;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-time {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
}

.service-qrcode {
    margin-top: 15px;
    max-width: 120px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .query-methods {
        padding: 20px 15px;
    }
    
    .query-tab {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .modal-content {
        margin: 20px auto;
        width: 95%;
    }
    
    .modal-body {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-contacts {
        flex-direction: column;
        align-items: center;
    }
}
/* 页面标题 */
.page-header {
    background-color: #f5f5f5;
    padding: 20px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    color: #333;
    font-size: 28px;
    margin: 0 0 5px;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #e60012;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}