/**
 * Styles pour les cartes d'inscription aux séminaires
 * 
 * Utilise les variables CSS du thème WordPress pour garantir la cohérence
 * avec l'identité visuelle du site.
 */

/* Boutons d'inscription aux séminaires */
.card .btn-primary {
    /* Utilise la couleur primaire du thème WordPress */
    background-color: var(--wp--preset--color--primary, #007cba);
    border-color: var(--wp--preset--color--primary, #007cba);
    color: var(--wp--preset--color--white, #ffffff);
    padding: 10px 20px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.card .btn-primary:hover {
    /* Version plus sombre pour l'effet hover */
    background-color: var(--wp--preset--color--primary-dark, #005a87);
    border-color: var(--wp--preset--color--primary-dark, #005a87);
    color: var(--wp--preset--color--white, #ffffff);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card .btn-primary:focus {
    /* État focus pour l'accessibilité */
    outline: 2px solid var(--wp--preset--color--primary, #007cba);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.card .btn-primary:active {
    /* État actif */
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Icônes dans les boutons */
.card .btn-primary .material-icons {
    vertical-align: middle;
    margin-right: 8px;
}

/* Cartes d'inscription */
.card {
    border: 1px solid var(--wp--preset--color--border, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    background-color: var(--wp--preset--color--background-secondary, #f8f9fa);
    border-bottom: 1px solid var(--wp--preset--color--border, #e0e0e0);
    color: var(--wp--preset--color--foreground, #333333);
    font-weight: 600;
}

.card-body {
    background-color: var(--wp--preset--color--background, #ffffff);
    color: var(--wp--preset--color--foreground, #333333);
}

.card-title {
    color: var(--wp--preset--color--primary, #007cba);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--wp--preset--color--foreground-secondary, #666666);
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .card .btn-primary {
        width: 100%;
        margin-top: 10px;
        padding: 12px 20px;
    }
}

/* Styles spécifiques aux alertes de stress marketing */
.card .alert {
    margin-bottom: 1rem;
    border-radius: 4px;
}

/* Animation pour les cartes */
.card.shadow-1 {
    transition: box-shadow 0.3s ease;
}

.card.shadow-1:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}
