/* Conteneur des séances */
.pc-seances-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: normal;
    justify-content: space-around;
    align-items: normal;
    gap: 15px;
    margin: 20px 0;
}

/* Boîte individuelle */
.pc-seance-box {
    background-color: #626b51;
    padding: 24px;
    border-radius: 16px;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-seance-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Titre de la séance */
.pc-seance-title {
    font-family: var(--global-typo-heading, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 20px;
    color: #fefcf7;
    margin: 0 0 10px 0;
    font-weight: 600;
}

/* Date / horaire */
.pc-seance-date {
    font-family: var(--global-typo-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: var(--global-size-md, 16px);
    color: #fefcf7;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 400;
}

/* Bouton */
.pc-seance-btn {
    display: inline-block;
    color: #fefcf7;
    padding: 8px;
    border: 0;
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 16px;
    background: var(--global-palette2, #8b9467);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    min-width: 160px;
}

/* Effet au survol */
.pc-seance-btn:hover {
    box-shadow: 4px 4px 0 0 var(--global-palette8, #2d3d2d);
    color: #fefcf7;
    text-decoration: none;
    transform: translateX(-2px) translateY(-2px);
}

/* Responsivité */
@media (max-width: 768px) {
    .pc-seances-list {
        flex-direction: column;
        align-items: center;
    }
    
    .pc-seance-box {
        min-width: 100%;
        max-width: 100%;
    }
    
    .pc-seance-title {
        font-size: 18px;
    }
    
    .pc-seance-btn {
        width: 100%;
        text-align: center;
    }
}

/* Message quand aucune séance */
.pc-no-seances {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

/* Animation de chargement subtile */
.pc-seances-list.loading {
    opacity: 0.7;
}

.pc-seances-list.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* === STYLES POUR LES TABS (CÔTÉ UTILISATEUR) === */

/* Conteneur principal avec tabs */
.pc-seances-container {
    margin: 20px 0;
}

/* Navigation des tabs */
.pc-tabs-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.pc-tab-btn {
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.pc-tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.pc-tab-btn.active {
    color: #ffffff;
    font-weight: 600;
}

/* Contenu des tabs */
.pc-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.pc-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Message amélioré quand aucune séance */
.pc-no-seances {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-style: italic;
    background: linear-gradient(135deg, #f9f9f9 0%, #f1f1f1 100%);
    border-radius: 16px;
    margin: 20px 0;
    border: 2px dashed #ddd;
}

.pc-no-seances:before {
    content: "📅";
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

/* Responsivité pour les tabs */
@media (max-width: 768px) {
    .pc-tabs-nav {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pc-tab-btn {
        width: auto;
        padding: 8px 0;
    }
}