/* theme.css - Sistema de design unificado */
:root {
    /* Cores primárias */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Cores específicas por role */
    --admin-accent: #6f42c1;
    --client-accent: #20c997;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-admin: linear-gradient(135deg, #6f42c1 0%, #495057 100%);
    --gradient-client: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    
    /* Bordas */
    --border-radius: 15px;
    --border-radius-sm: 8px;
}

/* Base Styles Override */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
}

/* Cards unificados */
.unified-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
    height: 100%;
    overflow: hidden;
}

.unified-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Headers específicos por role */
.admin-header {
    background: var(--gradient-admin);
    color: white;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.client-header {
    background: var(--gradient-client);
    color: white;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Botões unificados */
.btn-unified {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-unified:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Status badges unificados */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
}

.status-badge.primary { background: var(--primary-color); color: white; }
.status-badge.success { background: var(--success-color); color: white; }
.status-badge.warning { background: var(--warning-color); color: #212529; }
.status-badge.danger { background: var(--danger-color); color: white; }
.status-badge.info { background: var(--info-color); color: white; }

/* Dashboard Metrics */
.metric-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.metric-card h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.metric-card p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}
