/**
 * Dashboard Native View Styles
 * Matches production dashboard.css Dark Blue Theme
 */

/* Use production color scheme */
.dashboard-native-wrapper {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --success: #10b981;
    --error: #ef4444;
    --warning: #fbbf24;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --border-color: #475569;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;

    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--background);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-native {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    color: var(--text);
}

.dashboard-native.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loading-spinner {
    color: var(--text-secondary, #9ca3af);
    font-size: 1.125rem;
}

/* Welcome Banner - matches production panel style */
.welcome-banner {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.welcome-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-banner p {
    opacity: 0.9;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    color: var(--text, #f3f4f6);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Quick Navigation - matches production */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nav-card {
    background: var(--surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nav-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.nav-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.nav-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Activity Panel - matches production panel */
.activity-panel {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.activity-log {
    min-height: 100px;
}

.activity-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary, #9ca3af);
}

/* Admin Section */
.admin-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, #374151);
}

.admin-banner {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.admin-banner h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-native {
        padding: 1rem;
    }

    .welcome-banner h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-nav {
        grid-template-columns: 1fr;
    }

    .nav-card {
        padding: 1rem;
    }

    .nav-icon {
        font-size: 2rem;
    }
}
