/* 查询列表容器 */
.result-list-container {
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* 查询列表包装器 */
.result-list-wrapper {
    flex: 1;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* 顶部提醒 */
.result-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}

.notice-icon {
    font-size: 20px;
    color: #ff9800;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1.4;
}

.notice-content {
    flex: 1;
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

/* 列表头部 */
.result-list-header {
    margin-bottom: 30px;
}

.result-list-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a2740;
    margin: 0;
}

/* 暂无数据 */
.empty-data {
    background: #fff;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.empty-icon {
    font-size: 64px;
    color: #d9d9d9;
    margin-bottom: 20px;
    line-height: 1;
}

.empty-icon i {
    font-size: 64px;
}

.empty-text {
    font-size: 18px;
    color: #999;
    font-weight: 500;
    margin-bottom: 12px;
}

.empty-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.empty-desc-link {
    color: #1E9FFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 4px;
}

.empty-desc-link:hover {
    color: #0d8aee;
    background-color: rgba(30, 159, 255, 0.1);
    text-decoration: underline;
}

/* 查询列表 */
.result-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 查询记录项 */
.result-list-item {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.result-list-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 左侧价格区域 */
.result-left {
    width: 140px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8aee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
}

.price-box {
    text-align: center;
    color: #fff;
}

.price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.2;
}

.query-count {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

/* 右侧内容区域 */
.result-right {
    flex: 1;
    padding: 20px 24px;
    background: #fff;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 200px 110px;
    gap: 15px;
    align-items: start;
    align-content: start;
}

/* 状态徽章 */
.status-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    z-index: 3;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-column: 1;
}

/* 功能名 */
.function-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a2740;
    margin-bottom: 12px;
}

.status-paid {
    background: #52c41a;
    color: #fff;
}

.status-success {
    background: #1890ff;
    color: #fff;
}

.status-pending {
    background: #faad14;
    color: #fff;
}

.status-unpaid {
    background: #ff4d4f;
    color: #fff;
}

/* 详细信息包装器 */
.result-detail-wrapper {
    position: relative;
}

/* 详细信息 */
.result-detail {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 失败原因区域 */
.error-reason {
    grid-column: 2;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 6px;
    padding: 12px 14px;
    max-height: 180px;
    min-height: 120px;
    overflow-y: auto;
    align-self: start;
    margin-top: 10px;
}

/* 支付操作区域 */
.pay-action {
    grid-column: 3;
    margin-top: 90px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.error-title {
    font-size: 13px;
    font-weight: 600;
    color: #d46b08;
    margin-bottom: 8px;
}

.error-content {
    font-size: 12px;
    color: #8c4a00;
    line-height: 1.6;
    word-break: break-word;
    max-height: 120px;
    overflow-y: auto;
}

.detail-item {
    display: flex;
    align-items: center;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 8px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #666;
    max-width: 75px;
    flex-shrink: 0;
    font-size: 12px;
}

.detail-value {
    color: #1a2740;
    font-weight: 500;
    flex: 1;
    word-break: break-all;
    font-size: 12px;
}

/* 去支付按钮 */
.pay-action .pay-btn {
    padding: 8px 24px;
    background: #ff4d4f !important;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.pay-action .pay-btn:hover {
    background: #ff7875 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

/* 详情按钮 */
.pay-action .detail-btn {
    padding: 8px 24px;
    background: #1E9FFF !important;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.pay-action .detail-btn:hover {
    background: #0d8aee !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 159, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .result-list-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .result-notice {
        padding: 12px 15px;
        gap: 10px;
    }

    .notice-icon {
        font-size: 18px;
    }

    .notice-content {
        font-size: 13px;
    }

    .result-list-item {
        flex-direction: column;
    }

    .result-left {
        width: 100%;
        padding: 15px;
    }

    .price {
        font-size: 20px;
    }

    .result-right {
        padding: 15px;
    }

    .function-name {
        font-size: 15px;
    }

    .status-badge {
        font-size: 11px;
        padding: 3px 10px;
    }


    .detail-item {
        font-size: 13px;
    }

    .detail-label {
        min-width: 70px;
    }


    .empty-data {
        padding: 40px 15px;
    }

    .empty-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .empty-icon i {
        font-size: 48px;
    }

    .empty-text {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .empty-desc {
        font-size: 13px;
    }
}

/* IE8 兼容性 */
@media \0screen {
    .result-list-container {
        display: block;
    }

    .result-list-item {
        display: block;
        *zoom: 1;
    }

    .result-left {
        float: left;
        width: 140px;
    }

    .result-right {
        margin-left: 140px;
    }
}

/* 分页样式 */
.pagination-wrapper {
    text-align: center;
    margin: 30px 0;
    padding: 0;
}

.pagination-wrapper .pagination {
    text-align: center;
    margin: 30px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-wrapper .pagination li {
    display: inline-block;
    margin: 0 5px;
}

.pagination-wrapper .pagination li a,
.pagination-wrapper .pagination li span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    color: #666;
    border-radius: 4px;
    min-width: 16px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
}

.pagination-wrapper .pagination li.active span {
    background: #1E9FFF;
    color: #fff;
    border-color: #1E9FFF;
}

.pagination-wrapper .pagination li a:hover {
    border-color: #1E9FFF;
    color: #1E9FFF;
}

/* 上一页下一页箭头样式 */
.pagination-wrapper .pagination li:first-child a,
.pagination-wrapper .pagination li:last-child a {
    font-family: "宋体";
    font-weight: bold;
}

.pagination-wrapper .pagination li:first-child {
    margin-right: 5px;
}

.pagination-wrapper .pagination li:last-child {
    margin-left: 5px;
}

/* IE8 兼容性处理 */
@media \0screen {
    .pagination-wrapper .pagination li a,
    .pagination-wrapper .pagination li span {
        *display: inline;
        *zoom: 1;
    }
}

