/* =============================================================================
   COMPONENT CARDS - Extensions pour les cartes de composants
   À ajouter au fichier 03-components/cards.css existant
   ============================================================================= */

/* Extensions des cartes existantes pour les composants */
.component-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.component-card:hover:not(.card-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.component-card.card-disabled {
    opacity: 0.7;
}

.component-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.component-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.component-card .card-description {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.component-card .card-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Feature lists dans les cartes */
.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color, #28a745);
    font-weight: bold;
}

/* .badge-success / .badge-warning / .badge-info → définis dans 03-components/badges.css */

/* Icons dans les boutons */
.btn-icon {
    margin-left: 0.5rem;
    font-size: 0.9em;
}
/* =============================================================================
   COMPONENT CARDS - Extensions pour les cartes de composants
   À ajouter au fichier 03-components/cards.css existant
   ============================================================================= */

/* Extensions des cartes existantes pour les composants */


.component-card:hover:not(.card-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.component-card.card-disabled {
    opacity: 0.7;
}

.component-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.component-card .card-description {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.component-card .card-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Feature lists dans les cartes */
.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color, #28a745);
    font-weight: bold;
}



/* Variantes de badges techniques */
.badge-technical {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.badge-performance {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-weight: 600;
}

.badge-precision {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-weight: 600;
}

.badge-deprecated {
    background: rgba(237, 137, 54, 0.1);
    color: #7b341e;
    text-decoration: line-through;
    opacity: 0.8;
}
