/* Dashboard Page - Minimal & Professional */

.dashboard-page {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Header */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    font-size: 0.9375rem;
    color: #6B7280;
    margin: 0;
}

/* Main Layout - Two Column */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* Left Column - Main Content */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* North Star Metric - Hero Card */
.hero-metric-card {
    background: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(123, 31, 162, 0.2);
}

.hero-metric-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-metric-value {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-metric-change {
    font-size: 0.9375rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-metric-change i {
    font-size: 0.875rem;
}

/* Supporting Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.metric-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.metric-icon.purple {
    background: #F3E5F5;
    color: #7B1FA2;
}

.metric-icon.blue {
    background: #E3F2FD;
    color: #1976D2;
}

.metric-icon.green {
    background: #E8F5E9;
    color: #388E3C;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8125rem;
    color: #6B7280;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions-section {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1.25rem 0;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-action-card {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.quick-action-card:hover {
    border-color: #7B1FA2;
    background: #FAFAFA;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-action-icon.purple {
    background: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 100%);
    color: white;
}

.quick-action-icon.blue {
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 100%);
    color: white;
}

.quick-action-icon.green {
    background: linear-gradient(135deg, #388E3C 0%, #4CAF50 100%);
    color: white;
}

.quick-action-icon.orange {
    background: linear-gradient(135deg, #F57C00 0%, #FF9800 100%);
    color: white;
}

.quick-action-content {
    flex: 1;
}

.quick-action-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.quick-action-desc {
    font-size: 0.8125rem;
    color: #6B7280;
    margin: 0;
}

/* Right Column - Onboarding Sidebar */
.dashboard-sidebar {
    position: sticky;
    top: 2rem;
}

.onboarding-widget {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}

.onboarding-widget-header {
    background: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 100%);
    color: white;
    padding: 1.5rem;
}

.onboarding-widget-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.onboarding-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.onboarding-progress-fill {
    background: white;
    height: 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
}

.onboarding-progress-text {
    font-size: 0.8125rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.onboarding-steps {
    padding: 1rem;
}

.onboarding-step-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.onboarding-step-item:hover {
    background: #F9FAFB;
}

.onboarding-step-item.completed {
    opacity: 0.6;
}

.step-number-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
    border: 2px solid #E5E7EB;
    color: #6B7280;
    background: white;
}

.onboarding-step-item.completed .step-number-circle {
    background: #7B1FA2;
    border-color: #7B1FA2;
    color: white;
}

.step-content-text {
    flex: 1;
}

.step-title-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.step-desc-text {
    font-size: 0.75rem;
    color: #6B7280;
    margin: 0;
}

.onboarding-step-item.completed .step-title-text {
    text-decoration: line-through;
    color: #9CA3AF;
}

/* Loading State */
.loading-spinner {
    text-align: center;
    padding: 4rem;
    font-size: 1rem;
    color: #6B7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        top: 0;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-page {
        padding: 1rem;
    }

    .hero-metric-card {
        padding: 2rem 1.5rem;
    }

    .hero-metric-value {
        font-size: 3rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}
