/* ============================================
   LISTE CAPABILITIES - STYLES
   ============================================ */

.lc-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   SECTIONS
   ============================================ */

.lc-section {
    background: white;
    border: 2px solid #1062AC;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 98, 172, 0.1);
}

.lc-section-title {
    background: #1062AC;
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

/* ============================================
   GROUPES DE CAPABILITIES
   ============================================ */

.lc-capability-group {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.lc-capability-group:last-child {
    border-bottom: none;
}

.lc-capability-title {
    color: #1062AC;
    font-size: 1.1em;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #A1DEF4;
}

/* ============================================
   LISTES D'UTILISATEURS
   ============================================ */

.lc-user-list {
    padding: 10px 20px 20px 20px;
}

.lc-user-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #A1DEF4;
}

.lc-user-item:hover {
    background: #e9ecef;
    border-left-color: #1062AC;
}

.lc-user-name {
    font-weight: 600;
    color: #333;
    min-width: 150px;
}

.lc-user-login {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.lc-user-email {
    color: #1062AC;
    font-size: 0.9em;
    margin-left: auto;
}

/* ============================================
   LISTE COMPLÈTE DES UTILISATEURS
   ============================================ */

.lc-user-list-complete {
    padding: 20px;
}

.lc-user-complete {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #A1DEF4;
}

.lc-user-complete:hover {
    background: #e9ecef;
    border-left-color: #1062AC;
}

.lc-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.lc-user-caps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 20px;
}

/* ============================================
   BADGES
   ============================================ */

.lc-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #1062AC;
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.lc-no-caps {
    color: #999;
    font-style: italic;
    font-size: 0.9em;
}

/* ============================================
   MESSAGES
   ============================================ */

.lc-empty {
    color: #999;
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 6px;
    margin: 10px 20px 20px 20px;
}

.lc-count {
    color: #666;
    font-size: 0.9em;
    margin: 10px 0 0 0;
    padding-left: 12px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .lc-user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .lc-user-email {
        margin-left: 0;
    }
    
    .lc-user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .lc-user-name {
        min-width: auto;
    }
    
    .lc-user-caps {
        padding-left: 0;
    }
    
    .lc-section-title {
        font-size: 1.1em;
        padding: 15px;
    }
}