/* ==========================================================================
   ONGLET PROFIL - Design unifié avec Events/Membership
   ========================================================================== */

/* Header de card unifié */
.mpf-profile-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-wrap: nowrap !important;
}

.mpf-profile-header .mpf-card-title {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Bouton Modifier dans le header */
.mpf-profile-header .mpf-btn {
    flex-shrink: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.mpf-profile-header .mpf-btn-small {
    padding: 10px 20px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

/* Contenu du profil */
.mpf-profile-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

/* Zone principale (nom + antenne + réseaux) */
.mpf-profile-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mpf-profile-identity {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.mpf-profile-name {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.2 !important;
}

.mpf-profile-antenne {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 14px !important;
    background-color: rgba(28, 144, 147, 0.2) !important;
    border: 1px solid rgba(28, 144, 147, 0.4) !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    color: #4db6ac !important;
    width: fit-content !important;
}

.mpf-profile-antenne svg {
    flex-shrink: 0 !important;
    color: #4db6ac !important;
}

/* Réseaux sociaux */
.mpf-profile-social {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.mpf-profile-social .mpf-social-links {
    display: flex !important;
    gap: 10px !important;
}

.mpf-profile-social .mpf-social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

.mpf-profile-social .mpf-social-link:hover {
    background-color: #1C9093 !important;
    transform: translateY(-2px) !important;
}

/* Sections (Bio, Compétences) */
.mpf-profile-section {
    padding: 20px !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
}

.mpf-profile-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 12px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
}

.mpf-profile-section-title svg {
    flex-shrink: 0 !important;
}

.mpf-profile-text {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: white !important;
}

.mpf-empty-text {
    color: rgba(255, 255, 255, 0.4) !important;
    font-style: italic !important;
}

/* Grille des métas (Droit image, CGU) */
.mpf-profile-meta-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
}

.mpf-profile-meta-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    padding: 18px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

.mpf-profile-meta-item:hover {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.mpf-profile-meta-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, rgba(28, 144, 147, 0.3), rgba(28, 144, 147, 0.1)) !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
}

.mpf-profile-meta-icon svg {
    color: #4db6ac !important;
}

.mpf-profile-meta-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.mpf-profile-meta-label {
    font-size: 12px !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
}

.mpf-profile-meta-value {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.mpf-meta-date {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Badges uniformisés */
.mpf-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.mpf-badge-success {
    background-color: rgba(76, 175, 80, 0.2) !important;
    color: #4CAF50 !important;
    border: 1px solid rgba(76, 175, 80, 0.4) !important;
}

.mpf-badge-neutral {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Switch dans la grille méta */
.mpf-profile-meta-value .mpf-switch {
    margin: 0 !important;
}

.mpf-profile-meta-value .mpf-switch-label {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Bouton retour - Toujours visible */
.mpf-btn-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
    width: auto !important;
}

.mpf-btn-back svg {
    transition: transform 0.2s ease !important;
}

.mpf-btn-back:hover svg {
    transform: translateX(-3px) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .mpf-profile-header {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .mpf-profile-header .mpf-btn-small {
        padding: 8px 16px !important;
    }

    .mpf-profile-main {
        flex-direction: column !important;
    }

    .mpf-profile-name {
        font-size: 24px !important;
    }

    .mpf-profile-meta-grid {
        grid-template-columns: 1fr !important;
    }

    .mpf-profile-meta-value {
        flex-wrap: wrap !important;
    }
}

/* Bouton Modifier profil */
.mpf-edit-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background-color: #1C9093 !important;
    color: white !important;
    border: none !important;
    border-radius: 25px 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.mpf-edit-btn:hover {
    background-color: #167275 !important;
    color: white !important;
}

.mpf-edit-btn svg {
    width: 16px !important;
    height: 16px !important;
}

/* ==========================================================================
   INSCRIPTIONS AUX ÉVÉNEMENTS
   ========================================================================== */

.mpf-inscriptions-card {
    margin-top: 20px !important;
}

.mpf-inscriptions-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mpf-inscriptions-header .mpf-card-title {
    margin: 0 !important;
}

.mpf-inscriptions-count {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #4db6ac !important;
    background-color: rgba(77, 182, 172, 0.15) !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
}

/* Filtres */
.mpf-inscriptions-filters {
    margin-bottom: 20px !important;
}

.mpf-inscriptions-filters .mpf-radio-pills {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.mpf-inscriptions-filters .mpf-pill {
    cursor: pointer !important;
    margin: 0 !important;
}

.mpf-inscriptions-filters .mpf-pill input {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.mpf-inscriptions-filters .mpf-pill span {
    display: block !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.mpf-inscriptions-filters .mpf-pill:hover span {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.mpf-inscriptions-filters .mpf-pill input:checked + span {
    background-color: rgba(77, 182, 172, 0.2) !important;
    border-color: #4db6ac !important;
    color: #4db6ac !important;
}

/* Liste des inscriptions */
.mpf-inscriptions-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Carte inscription - version compacte horizontale */
.mpf-inscription-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.mpf-inscription-card:hover {
    border-color: rgba(77, 182, 172, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Thumbnail */
.mpf-inscription-thumbnail {
    position: relative !important;
    width: 120px !important;
    min-width: 120px !important;
    min-height: 100px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.mpf-inscription-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.mpf-inscription-thumbnail.mpf-no-thumbnail {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.mpf-inscription-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100px !important;
    color: rgba(255, 255, 255, 0.2) !important;
}

/* Status badge */
.mpf-inscription-status {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    padding: 4px 8px !important;
    border-radius: 10px 5px !important;
    z-index: 2 !important;
}

.mpf-inscription-status.mpf-status-upcoming {
    background-color: rgba(76, 175, 80, 0.95) !important;
    color: white !important;
}

.mpf-inscription-status.mpf-status-past {
    background-color: rgba(158, 158, 158, 0.95) !important;
    color: white !important;
}

/* Content */
.mpf-inscription-content {
    flex: 1 !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
}

.mpf-inscription-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: white !important;
    margin: 0 0 8px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.mpf-inscription-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.mpf-inscription-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.mpf-inscription-meta-item svg {
    color: rgba(255, 255, 255, 0.4) !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    height: 14px !important;
}

/* Actions - Boutons Voir et Désinscrire */
.mpf-inscription-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 15px !important;
    flex-shrink: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mpf-inscription-actions .mpf-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-width: 100% !important;
}

.mpf-inscription-actions .mpf-btn svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

.mpf-inscription-actions .mpf-btn-primary {
    background-color: #1C9093 !important;
    border: 1px solid #1C9093 !important;
    color: white !important;
}

.mpf-inscription-actions .mpf-btn-primary:hover {
    background-color: #167275 !important;
    border-color: #167275 !important;
}

/* Bouton Danger / Désinscrire */
.mpf-btn-danger {
    background-color: transparent !important;
    border: 1px solid rgba(244, 67, 54, 0.5) !important;
    color: #f44336 !important;
    border-radius: 10px !important;
}

/* Bouton Danger / Désinscrire */
.mpf-inscription-actions .mpf-btn-danger {
    background-color: transparent !important;
    border: 1px solid rgba(244, 67, 54, 0.5) !important;
    color: #f44336 !important;
}

.mpf-inscription-actions .mpf-btn-danger:hover {
    background-color: rgba(244, 67, 54, 0.15) !important;
    border-color: #f44336 !important;
    color: #f44336 !important;
}

.mpf-btn-unsubscribe {
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
}

.mpf-inscription-card:hover .mpf-btn-unsubscribe {
    opacity: 1 !important;
}

.mpf-btn-danger:hover {
    background-color: rgba(244, 67, 54, 0.15) !important;
    border-color: #f44336 !important;
    color: white !important;
}

.mpf-btn-unsubscribe {
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
}

.mpf-inscription-card:hover .mpf-btn-unsubscribe {
    opacity: 1 !important;
}

/* Loader */
.mpf-inscriptions-loader {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 30px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
}

.mpf-inscriptions-loader.visible {
    display: flex !important;
}

.mpf-inscriptions-loader .mpf-loader-spinner {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-top-color: #4db6ac !important;
    border-radius: 50% !important;
    animation: mpf-spin 0.8s linear infinite !important;
}

/* Pagination */
.mpf-inscriptions-pagination {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mpf-inscriptions-pagination .mpf-pagination-numbers {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.mpf-inscriptions-pagination .mpf-pagination-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.mpf-inscriptions-pagination .mpf-pagination-btn:hover:not(:disabled):not(.active) {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.mpf-inscriptions-pagination .mpf-pagination-btn.active {
    background-color: #4db6ac !important;
    border-color: #4db6ac !important;
    color: white !important;
}

.mpf-inscriptions-pagination .mpf-pagination-btn:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.mpf-inscriptions-pagination .mpf-pagination-dots {
    color: rgba(255, 255, 255, 0.4) !important;
    padding: 0 4px !important;
}

.mpf-inscriptions-pagination .mpf-pagination-info {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Empty state */
.mpf-inscriptions-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    margin-top: 20px !important;
}

.mpf-inscriptions-empty .mpf-empty-icon {
    margin-bottom: 15px !important;
    color: rgba(255, 255, 255, 0.25) !important;
}

.mpf-inscriptions-empty .mpf-empty-icon svg {
    color: rgba(255, 255, 255, 0.25) !important;
}

.mpf-inscriptions-empty p {
    margin: 0 0 8px 0 !important;
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.mpf-inscriptions-empty .mpf-empty-hint,
.mpf-empty-hint {
    display: block !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}
/* ==========================================================================
   MODAL DÉSINSCRIPTION
   ========================================================================== */

.mpf-modal-unsubscribe {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.mpf-modal-unsubscribe.active {
    display: flex !important;
}

/* Overlay sombre derrière le modal */
.mpf-modal-unsubscribe .mpf-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

.mpf-modal-unsubscribe .mpf-modal-container {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 420px !important;
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5) !important;
    animation: mpf-modal-in 0.3s ease !important;
    overflow: hidden !important;
}

@keyframes mpf-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mpf-modal-unsubscribe .mpf-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 25px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mpf-modal-unsubscribe .mpf-modal-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: white !important;
}

.mpf-modal-unsubscribe .mpf-modal-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.mpf-modal-unsubscribe .mpf-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

.mpf-modal-unsubscribe .mpf-modal-body {
    text-align: center !important;
    padding: 30px 25px !important;
}

.mpf-unsubscribe-icon {
    margin-bottom: 20px !important;
}

.mpf-unsubscribe-icon svg {
    color: #f44336 !important;
    width: 48px !important;
    height: 48px !important;
}

.mpf-unsubscribe-message {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.6 !important;
}

.mpf-unsubscribe-message strong {
    color: #4db6ac !important;
    display: block !important;
    margin-top: 8px !important;
    font-size: 16px !important;
}

.mpf-unsubscribe-hint {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 !important;
}

.mpf-modal-unsubscribe .mpf-modal-footer {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 25px 30px !important;
    border-top: none !important;
}

.mpf-modal-unsubscribe .mpf-modal-footer .mpf-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 130px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.mpf-modal-unsubscribe .mpf-btn-secondary {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.mpf-modal-unsubscribe .mpf-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.mpf-modal-unsubscribe .mpf-btn-danger {
    background-color: #f44336 !important;
    border: 1px solid #f44336 !important;
    color: white !important;
}

.mpf-modal-unsubscribe .mpf-btn-danger:hover {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
}

.mpf-modal-unsubscribe .mpf-btn-danger:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Spinner dans bouton */
.mpf-btn-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.mpf-btn-loader {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.mpf-btn-loader svg,
.mpf-spinner {
    animation: mpf-spin 0.8s linear infinite !important;
}

@keyframes mpf-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   ANIMATION SUPPRESSION CARTE
   ========================================================================== */

.mpf-inscription-card.mpf-removing {
    animation: mpf-card-remove 0.4s ease forwards !important;
    pointer-events: none !important;
}

@keyframes mpf-card-remove {
    0% {
        opacity: 1;
        transform: translateX(0);
        max-height: 150px;
        margin-bottom: 12px;
    }
    50% {
        opacity: 0.5;
        transform: translateX(30px);
    }
    100% {
        opacity: 0;
        transform: translateX(60px);
        max-height: 0;
        margin-bottom: 0;
        padding: 0;
        border-width: 0;
        overflow: hidden;
    }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.mpf-toast {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 24px !important;
    background-color: #1a1a2e !important;
    border: 1px solid rgba(76, 175, 80, 0.5) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    z-index: 10001 !important;
    animation: mpf-toast-in 0.3s ease !important;
}

.mpf-toast.mpf-toast-out {
    animation: mpf-toast-out 0.3s ease forwards !important;
}

.mpf-toast-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background-color: rgba(76, 175, 80, 0.2) !important;
    border-radius: 50% !important;
    color: #4CAF50 !important;
    flex-shrink: 0 !important;
}

.mpf-toast-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.mpf-toast-message {
    font-size: 14px !important;
    color: white !important;
    font-weight: 500 !important;
}

@keyframes mpf-toast-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mpf-toast-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

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

@media (max-width: 768px) {
    .mpf-inscriptions-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .mpf-inscriptions-filters .mpf-radio-pills {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 600px) {
    .mpf-inscription-card {
        flex-direction: column !important;
    }

    .mpf-inscription-thumbnail {
        width: 100% !important;
        height: 140px !important;
        min-height: 140px !important;
    }

    .mpf-inscription-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 15px !important;
        flex-shrink: 0 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        min-width: 140px !important;
    }

    .mpf-inscription-actions .mpf-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }


    .mpf-modal-unsubscribe .mpf-modal-container {
        max-width: 100% !important;
        margin: 0 15px !important;
    }

    .mpf-modal-unsubscribe .mpf-modal-footer {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .mpf-modal-unsubscribe .mpf-modal-footer .mpf-btn {
        width: 100% !important;
    }

    .mpf-toast {
        left: 15px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
}