/**
 * Django CFG Dashboard Styles
 *
 * Dashboard-specific styling
 *
 * NOTE: Common styles moved to separate files:
 * - Tab styles: /static/admin/css/tabs.css
 * - Theme styles: /static/admin/css/theme.css
 * - Layout (including .overview-grid): /static/admin/css/layout.css
 */

/* =============================================================================
   Section Specific Styles
   ============================================================================= */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.section-subtitle {
    color: #6b7280;
    margin-top: 0.5rem;
}

html.dark .section-subtitle {
    color: #9ca3af;
}

/* =============================================================================
   Component Styles
   ============================================================================= */

.metric-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.stat-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

html.dark .stat-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* =============================================================================
   Utilities
   ============================================================================= */

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.status-dot.success {
    background-color: #10b981;
}

.status-dot.warning {
    background-color: #f59e0b;
}

.status-dot.error {
    background-color: #ef4444;
}

.status-dot.info {
    background-color: #3b82f6;
}
