.app-container {
max-width: 1440px;
margin: 0 auto;
}

/* 标题区域 */
.page-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1.75rem;
}

.page-header h1 {
font-size: 1.75rem;
font-weight: 600;
letter-spacing: -0.01em;
color: #0f172a;
display: flex;
align-items: center;
gap: 0.5rem;
}

.page-header h1 span {
background: #eef2ff;
color: #4f46e5;
font-size: 0.9rem;
font-weight: 600;
padding: 0.25rem 0.75rem;
border-radius: 30px;
letter-spacing: 0;
}

/* 订单卡片网格 — 一行多列，响应式 */
.order-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 1.25rem;
}

/* 卡片样式 */
.order-card {
background-color: #ffffff;
border-radius: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.05);
padding: 1.25rem 1.25rem 1.25rem 1.25rem;
transition: all 0.2s ease;
border: 1px solid #f1f5f9;
display: flex;
flex-direction: column;
}

/* 卡片头部：订单名称 + 订单状态 */
.card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 0.9rem;
}

.order-name {
font-weight: 600;
color: #0b1e33;
line-height: 1.3;
word-break: break-word;
}

/* 状态徽章 */
.status-badge {
font-size: 0.7rem;
font-weight: 600;
padding: 0.3rem 0.7rem;
border-radius: 30px;
background-color: #f1f5f9;
color: #334155;
white-space: nowrap;
letter-spacing: 0.01em;
border: 1px solid transparent;
}

.status-badge.shipped {
background-color: #e0f2fe;
color: #0369a1;
}

.status-badge.pending {
background-color: #fff7ed;
color: #b45309;
}

.status-badge.completed {
background-color: #e6f7e6;
color: #0b6b3b;
}

.status-badge.refunded {
background-color: #fee9e7;
color: #b91c1c;
}

/* 订单信息网格（内部两列） */
.order-details {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.9rem 1rem;
margin-bottom: 1.2rem;
font-size: 0.85rem;
}

.detail-item {
display: flex;
flex-direction: column;
gap: 0.15rem;
}

.detail-label {
font-size: 0.7rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.02em;
color: #64748b;
}

.detail-value {
font-weight: 500;
color: #1e293b;
word-break: break-word;
}

.detail-value.price {
font-weight: 600;
font-size:18px;
color:#f40;
}

/* 收益人 + 是否结算 单独一行特殊处理 */
.extra-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.3rem;
font-size: 0.85rem;
}

.earner-info {
display: flex;
align-items: center;
gap: 0.4rem;
}

.earner-label {
font-size: 0.7rem;
font-weight: 500;
color: #64748b;
text-transform: uppercase;
}

.earner-name {
font-weight: 600;
color: #0f172a;
}

.settle-badge {
font-size: 0.7rem;
font-weight: 600;
padding: 0.25rem 0.7rem;
border-radius: 30px;
background-color: #e9e9ef;
color: #1e293b;
display: inline-flex;
align-items: center;
gap: 0.25rem;
}

.settle-badge.settled {
background-color: #dcfce7;
color: #166534;
}

.settle-badge.unsettled {
background-color: #fff3cd;
color: #856404;
}

/* 分隔线 */
.divider {
height: 1px;
background-color: #f1f5f9;
margin: 0.5rem 0 0.9rem;
}

/* 支付时间单独一行 */
.payment-time {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 0.8rem;
color: #475569;
margin-bottom: 0.2rem;
}

.payment-time .time-value {
font-weight: 500;
color: #1e293b;
background: #f1f5f9;
padding: 0.2rem 0.6rem;
border-radius: 20px;
font-size: 0.75rem;
}

/* 空状态（本次没有使用，但保留） */
.no-orders {
grid-column: 1 / -1;
text-align: center;
padding: 3rem;
color: #64748b;
}

/* 简单响应式：非常窄的卡片内，双列改为单列 */
.settled-stat span{padding:3px 5px;border-radius:3px;}

/* 状态小圆点（点缀） */
.status-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 4px;
background-color: currentColor;
}