/**
 * 订单查询页专用样式
 * 主题色继承自 themes.css 中的 .theme-xxx
 */

.container { max-width: 520px; }

.form-tip {
    font-size: 12px;
    margin-top: 5px;
}

/* 结果区域 */
.result-section {
    margin-top: 25px;
    padding-top: 25px;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.result-card {
    border-radius: 8px;
    padding: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.result-item:last-child { border-bottom: none; }

.result-label { font-size: 14px; }
.result-value { font-size: 14px; font-weight: 500; }

/* 状态徽章 */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.status-confirmed { background: rgba(96, 165, 250, 0.2); color: #60a5fa; }
.status-completed { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.status-rejected { background: rgba(248, 113, 113, 0.2); color: #f87171; }
.status-failed { background: rgba(248, 113, 113, 0.2); color: #f87171; }
.status-cancelled { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }

.result-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
}

.not-found {
    text-align: center;
    padding: 30px 0;
}

.not-found-icon { font-size: 48px; margin-bottom: 15px; }
.not-found-text { font-size: 14px; }

/* 订单列表 */
.order-list { margin-top: 10px; }

.order-list-item {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid;
}

.order-list-item:last-child { margin-bottom: 0; }

.order-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-list-no {
    font-size: 13px;
    font-family: monospace;
}

.order-list-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.order-list-body > * + * {
    margin-left: 8px;
}

.order-list-info { font-size: 14px; }
.order-list-info span { margin-right: 15px; }
.order-list-time { font-size: 12px; }
.list-count { font-size: 14px; margin-bottom: 10px; }

/* ===== 主题适配 ===== */

/* default */
.theme-default .form-tip { color: #999; }
.theme-default .result-section { border-top: 1px solid #f0f0f0; }
.theme-default .result-title { color: #333; }
.theme-default .result-card { background: #f8f9fc; }
.theme-default .result-item { border-bottom: 1px solid #f0f0f0; }
.theme-default .result-label { color: #666; }
.theme-default .result-value { color: #333; }
.theme-default .result-message { background: #f6ffed; border: 1px solid #b7eb8f; color: #52c41a; }
.theme-default .not-found { color: #999; }
.theme-default .not-found-icon { color: #ddd; }
.theme-default .order-list-item { background: #f8f9fc; border-left-color: #1e9fff; }
.theme-default .order-list-no { color: #666; }
.theme-default .order-list-info { color: #333; }
.theme-default .order-list-time { color: #999; }
.theme-default .list-count { color: #666; }

/* dark */
.theme-dark .form-tip { color: #6a6a7a; }
.theme-dark .result-section { border-top: 1px solid rgba(255,255,255,0.05); }
.theme-dark .result-title { color: #e4e4e4; }
.theme-dark .result-card { background: #2d2d4a; }
.theme-dark .result-item { border-bottom: 1px solid rgba(255,255,255,0.05); }
.theme-dark .result-label { color: #a0a0b0; }
.theme-dark .result-value { color: #e4e4e4; }
.theme-dark .result-message { background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: #34d399; }
.theme-dark .not-found { color: #6a6a7a; }
.theme-dark .not-found-icon { color: #3d3d5c; }
.theme-dark .order-list-item { background: #2d2d4a; border-left-color: #a78bfa; }
.theme-dark .order-list-no { color: #a0a0b0; }
.theme-dark .order-list-info { color: #e4e4e4; }
.theme-dark .order-list-time { color: #6a6a7a; }
.theme-dark .list-count { color: #a0a0b0; }

/* glass */
.theme-glass .form-tip { color: rgba(255,255,255,0.4); }
.theme-glass .result-section { border-top: 1px solid rgba(255,255,255,0.08); }
.theme-glass .result-title { color: #fff; }
.theme-glass .result-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.theme-glass .result-item { border-bottom: 1px solid rgba(255,255,255,0.05); }
.theme-glass .result-label { color: rgba(255,255,255,0.7); }
.theme-glass .result-value { color: #fff; }
.theme-glass .result-message { background: rgba(123,237,159,0.1); border: 1px solid rgba(123,237,159,0.3); color: #7bed9f; }
.theme-glass .not-found { color: rgba(255,255,255,0.4); }
.theme-glass .not-found-icon { color: rgba(255,255,255,0.15); }
.theme-glass .order-list-item { background: rgba(255,255,255,0.05); border-left-color: #ff6b9d; }
.theme-glass .order-list-no { color: rgba(255,255,255,0.7); }
.theme-glass .order-list-info { color: #fff; }
.theme-glass .order-list-time { color: rgba(255,255,255,0.4); }
.theme-glass .list-count { color: rgba(255,255,255,0.7); }
