/**
 * microorder.css - 微单页面样式
 * 作者：之马工场
 * 创建日期：2026-01-01
 */

/* ========== 大按钮样式增强 ========== */
.big-btn-group {
    margin-bottom: 64px;
}

.big-btn-icon.secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #8b5cf6 100%);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
}

/* ========== 流程说明区块 ========== */
.process-section {
    margin-bottom: 64px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.section-title svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
    color: var(--text-muted);
}

.process-arrow svg {
    width: 24px;
    height: 24px;
}

/* ========== 我的微单区块 ========== */
.my-orders {
    margin-top: 32px;
}

/* ========== 操作栏 ========== */
.action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.action-stats {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========== 页面头部导航 ========== */
.page-header-nav {
    margin-bottom: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ========== 微单列表项链接样式 ========== */
a.list-item {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a.list-item:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

a.list-item .list-item-action svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

a.list-item:hover .list-item-action svg {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* ========== 空状态样式 ========== */
.list-container .empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.list-container .empty-state .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
}

.list-container .empty-state .empty-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

.list-container .empty-state h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.list-container .empty-state p {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ========== 文档徽章样式 ========== */
.doc-badges {
    display: inline-flex;
    gap: 8px;
    margin-left: 12px;
}

.doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.doc-badge svg {
    width: 12px;
    height: 12px;
}

.doc-badge-req {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.doc-badge-quote {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* ========== 列表筛选 ========== */
.list-filter select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
}

.list-filter select:focus {
    border-color: var(--primary-color);
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
}

@media (max-width: 768px) {
    .big-btn-group {
        grid-template-columns: 1fr;
    }
}

