/* ── IRPP Prochaines Sessions ───────────────────────────── */
.irpp-prochaines-sessions {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.irpp-sessions-type {
    font-size: 20px;
    font-weight: 600;
    color: #0059FF;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0059FF;
}

.irpp-sessions-liste {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.irpp-session-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    border-left: 3px solid #0059FF;
}

.irpp-session-info {
    flex: 1;
}

.irpp-session-titre {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #0A0A0A;
}

.irpp-session-date,
.irpp-session-lieu {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.irpp-session-icon {
    font-size: 14px;
}

.irpp-btn-brochure {
    display: inline-block;
    padding: 10px 20px;
    background: #0059FF;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}

.irpp-btn-brochure:hover {
    background: #0047cc;
    color: #ffffff !important;
}

.irpp-sessions-vide {
    color: #888;
    font-style: italic;
}

@media (max-width: 600px) {
    .irpp-session-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .irpp-btn-brochure {
        width: 100%;
        text-align: center;
    }
}

/* ── IRPP Hero Sessions ─────────────────────────────────── */
.irpp-hero-sessions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.irpp-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.irpp-hero-card:hover {
    border-color: #0059FF;
    box-shadow: 0 2px 8px rgba(0, 89, 255, 0.08);
    text-decoration: none;
}

.irpp-hero-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.irpp-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    min-width: 36px;
    text-align: center;
}

.irpp-hero-badge--afa {
    background: #0059FF;
    color: #ffffff;
}

.irpp-hero-badge--iaf {
    background: #0A0A0A;
    color: #ffffff;
}

.irpp-hero-badge--formation,
.irpp-hero-badge--autre {
    background: #e5e7eb;
    color: #0A0A0A;
}

.irpp-hero-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.irpp-hero-card-titre {
    font-size: 14px;
    font-weight: 600;
    color: #0A0A0A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.irpp-hero-card-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.irpp-hero-card-cta {
    font-size: 12px;
    color: #0059FF;
    font-weight: 500;
}

.irpp-hero-card-right {
    color: #9ca3af;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.irpp-hero-card:hover .irpp-hero-card-right {
    color: #0059FF;
}

/* ── IRPP Sessions Table ────────────────────────────────── */
.irpp-st-filters {
    display: flex;
    gap: 0;
    border: 1px solid var(--gray-200, #E4E4EA);
    border-radius: 3px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 24px;
}

.irpp-sf-btn {
    font-size: 12px; font-weight: 600; color: #9898A8;
    padding: 9px 18px; cursor: pointer;
    border: none; border-right: 1px solid #E4E4EA;
    background: #fff; transition: all 0.15s; font-family: inherit;
}
.irpp-sf-btn:last-child { border-right: none; }
.irpp-sf-btn.active { background: #0059FF; color: #fff; }
.irpp-sf-btn:hover:not(.active) { background: #F2F2F5; color: #0A0A0A; }

.irpp-sessions-table {
    border: 1px solid #E4E4EA;
    background: #fff;
}

.irpp-sr {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 20px 28px;
    border-bottom: 1px solid #E4E4EA;
    transition: background 0.12s;
}
.irpp-sr:last-child { border-bottom: none; }
.irpp-sr:hover { background: #F8F8FA; }

.irpp-sr-type {
    font-size: 9px; font-weight: 800; color: #0059FF;
    text-transform: uppercase; letter-spacing: 1.5px;
    display: block; margin-bottom: 4px;
}
.irpp-sr-type.iaf { color: #636373; }

.irpp-sr-when {
    font-size: 15px; font-weight: 700; color: #0A0A0A;
}

.irpp-sr-name {
    font-size: 15px; font-weight: 600; color: #0A0A0A; margin-bottom: 3px;
}
.irpp-sr-detail { font-size: 12px; color: #9898A8; }

.irpp-sr-actions {
    display: flex; gap: 10px; align-items: center;
}

.irpp-btn-dl {
    font-size: 12px; font-weight: 600; color: #2E2E3A;
    border: 1px solid #E4E4EA; padding: 8px 14px;
    border-radius: 3px; transition: all 0.15s; white-space: nowrap;
    display: flex; align-items: center; gap: 6px; text-decoration: none;
}
.irpp-btn-dl:hover { border-color: #0059FF; color: #0059FF; }

.irpp-btn-register {
    font-size: 12px; font-weight: 700; color: #fff;
    background: #0059FF; padding: 8px 18px;
    border-radius: 3px; transition: background 0.15s;
    white-space: nowrap; text-decoration: none; display: inline-block;
}
.irpp-btn-register:hover { background: #0044CC; color: #fff; }

@media (max-width: 768px) {
    .irpp-sr {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
