/**
 * Dashboard 首页样式
 */

.page-header {
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 2rem 0 0;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900, #0f172a);
    letter-spacing: -0.03em;
}

.page-subtitle {
    text-align: center;
    color: var(--gray-500, #64748b);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.25s ease-out;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dashboard-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12), 0 4px 8px -2px rgba(0,0,0,0.06);
}

.dashboard-card:hover::after {
    opacity: 1;
}

.dashboard-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.dashboard-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--gray-900, #0f172a);
}

.dashboard-card-desc {
    color: var(--gray-500, #64748b);
    line-height: 1.5;
    font-size: 0.875rem;
}

.card-companies {
    border-left: 3px solid #4f46e5;
}

.card-shops {
    border-left: 3px solid #10b981;
}

.card-tasks {
    border-left: 3px solid #ef4444;
}

.card-orders {
    border-left: 3px solid #f59e0b;
}

.card-orderItems {
    border-left: 3px solid #0ea5e9;
}

.quick-start-section {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.quick-start-title {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800, #1e293b);
}

.quick-start-list {
    list-style: none;
    padding: 0;
}

.quick-start-list li {
    padding: 0.625rem 0;
    color: var(--gray-600, #475569);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
    font-size: 0.9rem;
}

.quick-start-list li:last-child {
    border-bottom: none;
}

.quick-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary, #4f46e5);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .dashboard {
        grid-template-columns: 1fr;
    }

    .quick-start-section {
        padding: 1rem;
    }
}
