/**
 * SP Mon Compte IPTV - Main Styles
 * Based on sp-design-commande design system
 * Ultra modern glassmorphism design
 *
 * @package SP_Mon_Compte_IPTV
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sp-orange: #ff6900;
    --sp-orange-light: #ff8533;
    --sp-green: #15bc84;
    --sp-green-light: #3cd0a1;
    --sp-text: #1f2937;
    --sp-text-light: #6b7280;
    --sp-glass-bg: rgba(255, 255, 255, 0.3);
    --sp-glass-border: rgba(255, 255, 255, 0.35);
    --sp-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --sp-danger: #dc3545;
    --sp-warning: #ffc107;
    --sp-info: #17a2b8;
}

/* SUPPRIMER LE CADRE BLANC GLOBAL - ULTRA RENFORCÉ */
/* NOTE: .woocommerce-MyAccount-content RETIRÉ car il contient le background ::before */
.woocommerce-account .woocommerce,
.woocommerce,
body.woocommerce-account article.page,
body.woocommerce-account .page,
body.woocommerce-account main,
body.woocommerce-account #primary,
body.woocommerce-account #main,
body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account .site,
body.woocommerce-account .site-content,
body.woocommerce-account #content,
body.woocommerce-account .content-wrapper,
body.woocommerce-account .hfeed,
body.woocommerce-account .entry-content,
body.woocommerce-account article,
body.woocommerce-account .post,
body.woocommerce-account .type-page,
body.woocommerce-account > *:not(.woocommerce-MyAccount-content),
body.woocommerce-account .site-inner,
body.woocommerce-account .wrap,
body.woocommerce-account .content,
body.woocommerce-account .container,
body.woocommerce-account #page,
body.woocommerce-account .site-container {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Force body overflow */
body.woocommerce-account {
    overflow-x: hidden !important;
}

/* Hide page title "Mon compte" - ULTRA RENFORCÉ */
.woocommerce-account .entry-title,
.woocommerce-account h1.page-title,
.woocommerce-account .entry-header,
.woocommerce-account .page-title,
.woocommerce-MyAccount-navigation + .woocommerce-MyAccount-content .entry-header,
body.woocommerce-account .entry-header .entry-title,
body.woocommerce-account h1.entry-title,
body.woocommerce-account header.entry-header,
article.page header.entry-header,
.woocommerce-MyAccount-content .entry-header,
.page .entry-header,
.entry-header,
header.entry-header,
.page-header,
h1.entry-title,
h1.page-title {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Body Override for My Account Page */
body.spmci-account-page {
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
}

/* Conteneur WooCommerce - position relative pour le background */
.woocommerce-MyAccount-content {
    position: relative !important;
    min-height: 100vh;
}

/* Background PNG - DIV RÉEL au lieu de ::before */
.spmci-background-layer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-image: url('../images/backgrounds/background3.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    z-index: 0 !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
}

/* Mobile background - MASQUÉ */
@media (max-width: 768px) {
    .spmci-background-layer {
        display: none !important;
    }
}

/* Wrapper */
.spmci-wrapper {
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.spmci-container {
    max-width: 1400px;
    margin: 0 auto;
    background: transparent !important;
}

/* Header */
.spmci-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: var(--sp-shadow);
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.spmci-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.spmci-user-avatar {
    flex-shrink: 0;
}

.spmci-user-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lottie-avatar {
    width: 80px;
    height: 80px;
}

.spmci-user-info h1 {
    font-size: 1.8rem;
    color: var(--sp-text);
    margin-bottom: 5px;
}

.spmci-user-info p {
    color: var(--sp-text-light);
    font-size: 1rem;
}

/* Logout Link */
.spmci-logout-link {
    margin-left: auto;
    color: rgba(107, 114, 128, 0.6);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spmci-logout-link:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    transform: scale(1.05);
}

/* Tabs Navigation */
.spmci-tabs-nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: var(--sp-shadow);
    padding: 10px;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    position: relative;
    z-index: 10;
}

.spmci-tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sp-text-light);
}

.spmci-tab-btn i {
    font-size: 1.2rem;
}

.spmci-tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--sp-text);
}

.spmci-tab-btn.active {
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-green-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.3);
}

/* Tab Content */
.spmci-tabs-content {
    background: transparent !important;
}

.spmci-tab-content {
    display: none;
    background: transparent !important;
}

.spmci-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
    background: transparent !important;
}

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

/* Kit Header Box - Encart centré pour titre + phrase percutante */
.spmci-kit-header-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: var(--sp-shadow);
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.spmci-kit-header-box h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    font-size: 2rem;
    color: var(--sp-text);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lottie-kit-header {
    width: 40px;
    height: 40px;
}

.spmci-kit-header-box h2 i {
    color: var(--sp-orange);
}

/* Testimonial CTA Box */
.spmci-testimonial-cta-box {
    background: linear-gradient(135deg, rgba(21, 188, 132, 0.08) 0%, rgba(60, 208, 161, 0.05) 100%);
    border: 2px solid rgba(21, 188, 132, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.spmci-testimonial-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #15bc84, #3cd0a1);
}

.spmci-testimonial-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.spmci-testimonial-cta-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.spmci-testimonial-cta-text {
    flex: 1;
}

.spmci-testimonial-cta-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--sp-text);
}

.spmci-testimonial-cta-text p {
    margin: 0;
    font-size: 14px;
    color: var(--sp-text-light);
}

.spmci-testimonial-cta-text strong {
    color: #15bc84;
    font-weight: 700;
}

.spmci-testimonial-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #15bc84, #3cd0a1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.25);
    flex-shrink: 0;
}

.spmci-testimonial-cta-btn:hover {
    background: linear-gradient(135deg, #12a474, #35ba8f);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 188, 132, 0.35);
    color: white;
}

.spmci-testimonial-cta-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.spmci-testimonial-cta-btn:hover i {
    transform: translateX(4px);
}

/* Emoji inline (caché sur desktop, visible sur mobile) */
.spmci-cta-emoji-inline {
    display: none;
}

/* Mobile responsive - Version ultra compacte et discrète */
@media (max-width: 768px) {
    .spmci-testimonial-cta-box {
        padding: 10px 12px;
        margin-bottom: 16px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(21, 188, 132, 0.04) 0%, rgba(60, 208, 161, 0.02) 100%);
        border: 1px solid rgba(21, 188, 132, 0.15);
    }

    .spmci-testimonial-cta-box::before {
        width: 3px;
    }

    .spmci-testimonial-cta-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 10px;
    }

    /* Cacher le gros emoji sur mobile */
    .spmci-testimonial-cta-icon {
        display: none;
    }

    /* Afficher l'emoji inline à côté du titre sur mobile */
    .spmci-cta-emoji-inline {
        display: inline;
        font-size: 14px;
        margin-right: 4px;
    }

    .spmci-testimonial-cta-text {
        flex: 1;
    }

    .spmci-testimonial-cta-text h3 {
        font-size: 13px;
        margin: 0 0 2px 0;
        font-weight: 600;
    }

    .spmci-testimonial-cta-text p {
        font-size: 11px;
        line-height: 1.3;
        opacity: 0.8;
    }

    .spmci-testimonial-cta-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .spmci-testimonial-cta-btn span {
        display: none;
    }

    .spmci-testimonial-cta-btn i {
        font-size: 12px;
        margin: 0;
    }
}

/* Section Header (conservé pour compatibilité) */
.spmci-section-header {
    margin-bottom: 30px;
}

.spmci-section-header h2 {
    font-size: 2rem;
    color: var(--sp-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spmci-section-header h2 i {
    color: var(--sp-orange);
}

.spmci-section-header p {
    color: var(--sp-text-light);
    font-size: 1.1rem;
}

/* Section Box */
.spmci-section-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: var(--sp-shadow);
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.spmci-section-box h3 {
    font-size: 1.5rem;
    color: var(--sp-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spmci-section-box h3 i {
    color: var(--sp-orange);
}

/* Stats Grid */
.spmci-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spmci-stat-card {
    background: linear-gradient(135deg, var(--sp-glass-bg) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 16px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: var(--sp-shadow);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.spmci-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.spmci-stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sp-orange) 0%, var(--sp-orange-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(143, 149, 179, 0.3);
}

.spmci-stat-content {
    flex: 1;
}

.spmci-stat-label {
    font-size: 0.85rem;
    color: var(--sp-text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spmci-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sp-text);
}

/* Buttons */
.spmci-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.spmci-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.spmci-btn:hover::before {
    width: 300px;
    height: 300px;
}

.spmci-btn-primary {
    background: linear-gradient(135deg, var(--sp-orange) 0%, var(--sp-orange-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(143, 149, 179, 0.3);
}

.spmci-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 105, 0, 0.4);
}

.spmci-btn-secondary {
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-green-light) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.3);
    font-size: 0.95rem;
    padding: 10px 20px;
}

.spmci-btn-secondary:hover {
    background: linear-gradient(135deg, var(--sp-green-light) 0%, var(--sp-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 188, 132, 0.4);
}

.spmci-btn-success {
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-green-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.3);
}

.spmci-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 188, 132, 0.4);
}

.spmci-btn-download {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spmci-btn-download:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.spmci-btn-dark {
    background: #1f2937;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.spmci-btn-dark:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.spmci-btn-mint {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.spmci-btn-mint:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.spmci-btn-disabled {
    background: rgba(150, 150, 150, 0.3);
    color: var(--sp-text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.spmci-btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
}

/* Empty State */
.spmci-empty-state {
    text-align: center;
    padding: 20px 20px;
}

.spmci-empty-state-content {
    text-align: center;
    padding: 20px 20px 0 20px;
    max-width: 500px;
    margin: 0 auto;
}

.spmci-empty-state-content i {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 0.8rem;
}

.spmci-empty-state-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.6rem;
}

.spmci-empty-state-content p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.spmci-empty-state i {
    font-size: 4rem;
    color: var(--sp-text-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

.spmci-empty-state h3 {
    color: var(--sp-text);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.spmci-empty-state p {
    color: var(--sp-text-light);
    margin-bottom: 20px;
}

.spmci-empty-state .spmci-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
}

.spmci-empty-state .spmci-btn i {
    font-size: 0.85rem;
    opacity: 1;
    margin-bottom: 0;
}

/* Servers Grid */
.spmci-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.spmci-server-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--sp-glass-border);
    padding: 24px;
    transition: all 0.3s ease;
}

.spmci-server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(31, 38, 135, 0.2);
}

.spmci-server-card.expired {
    opacity: 0.7;
    border-color: var(--sp-danger);
}

.spmci-server-card.expiring {
    border-color: var(--sp-warning);
}

.spmci-server-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--sp-orange) 0%, var(--sp-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 12px rgba(143, 149, 179, 0.3);
}

.spmci-server-info {
    text-align: center;
    margin-bottom: 16px;
}

.spmci-server-info h3 {
    color: var(--sp-text);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.spmci-server-meta {
    color: var(--sp-text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.spmci-server-status {
    text-align: center;
    margin-bottom: 16px;
}

.spmci-expiry-date {
    color: var(--sp-text-light);
    font-size: 0.9rem;
    margin-top: 8px;
}

.spmci-server-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Badges */
.spmci-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.spmci-badge-success {
    background: rgba(21, 188, 132, 0.2);
    color: var(--sp-green);
}

.spmci-badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.spmci-badge-danger {
    background: rgba(220, 53, 69, 0.2);
    color: var(--sp-danger);
}

/* Referral Code Display */
.spmci-code-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.spmci-code-box {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 16px;
    border: 2px dashed var(--sp-orange);
}

.spmci-code-label {
    font-size: 0.9rem;
    color: var(--sp-text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spmci-code-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sp-orange);
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(255, 105, 0, 0.2);
}

.spmci-share-info {
    padding: 20px;
}

.spmci-share-info h4 {
    color: var(--sp-text);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.spmci-share-info ul {
    list-style: none;
    padding: 0;
}

.spmci-share-info li {
    padding: 12px 0;
    color: var(--sp-text);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.spmci-share-info li i {
    color: var(--sp-green);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Cashout Grid */
.spmci-cashout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.spmci-cashout-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--sp-glass-border);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.spmci-cashout-card:not(.disabled):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(31, 38, 135, 0.2);
}

.spmci-cashout-card.disabled {
    opacity: 0.5;
}

.spmci-cashout-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--sp-orange) 0%, var(--sp-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 12px rgba(143, 149, 179, 0.3);
}

.spmci-cashout-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sp-text);
    margin-bottom: 12px;
}

.spmci-cashout-cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sp-orange);
    margin-bottom: 16px;
}

.spmci-cashout-cost small {
    display: block;
    font-size: 0.75rem;
    color: var(--sp-text-light);
    margin-top: 4px;
}

/* Tables */
.spmci-table-responsive {
    overflow-x: auto;
}

.spmci-table {
    width: 100%;
    border-collapse: collapse;
}

.spmci-table th {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--sp-text);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.spmci-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--sp-text);
}

.spmci-table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.spmci-commission {
    font-weight: 700;
    color: var(--sp-green);
}

/* Kit Sections */
.spmci-kit-device {
    margin-bottom: 30px;
}

.spmci-kit-device-header {
    border-left: 4px solid #8f95b3;
    padding-left: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.spmci-kit-device-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.spmci-kit-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.spmci-kit-app-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--sp-glass-border);
    padding: 20px;
}

.spmci-kit-app-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--sp-orange) 0%, var(--sp-orange-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.spmci-kit-app-info {
    text-align: center;
    margin-bottom: 16px;
}

.spmci-kit-app-info h4 {
    color: var(--sp-text);
    margin-bottom: 8px;
}

.spmci-kit-app-info p {
    color: var(--sp-text-light);
    font-size: 0.9rem;
}

.spmci-kit-app-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Portal Cards */
/* Portal URLs List */
.spmci-portal-urls-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spmci-portal-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spmci-portal-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spmci-portal-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sp-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.spmci-portal-name i {
    color: var(--sp-orange);
    font-size: 0.85rem;
}

.spmci-portal-url {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 12px;
}

.spmci-portal-url-text {
    flex: 1;
    color: var(--sp-text);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    overflow-wrap: break-word;
    word-break: break-all;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .spmci-portal-url-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: normal;
    }
}

/* Instructions */
.spmci-instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.spmci-instruction-step {
    text-align: center;
}

.spmci-step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.3);
}

.spmci-step-content h4 {
    color: var(--sp-text);
    margin-bottom: 8px;
}

.spmci-step-content p {
    color: var(--sp-text-light);
    font-size: 0.9rem;
}

/* Alerts */
.spmci-alert {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.spmci-alert i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.spmci-alert-info {
    background: rgba(23, 162, 184, 0.2);
    border: 1px solid rgba(23, 162, 184, 0.3);
    color: #0c5460;
}

.spmci-alert-info i {
    color: var(--sp-info);
}

/* Help Box */
.spmci-help-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.spmci-help-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--sp-warning) 0%, #ffca2c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.spmci-help-content {
    text-align: center;
}

.spmci-help-content h3 {
    color: var(--sp-text);
    margin-bottom: 10px;
}

.spmci-help-content p {
    color: var(--sp-text-light);
    margin-bottom: 20px;
}

.spmci-help-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Notifications List */
.spmci-notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spmci-notification-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spmci-notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sp-info) 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.spmci-notification-content {
    flex: 1;
}

.spmci-notification-content p {
    color: var(--sp-text);
    margin-bottom: 5px;
}

.spmci-notification-date {
    color: var(--sp-text-light);
    font-size: 0.85rem;
}

/* Modal */
.spmci-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spmci-modal-content {
    background: linear-gradient(135deg, var(--sp-glass-bg) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    overflow: hidden;
}

.spmci-modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spmci-modal-header h3 {
    color: var(--sp-text);
    font-size: 1.3rem;
    margin: 0;
}

.spmci-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--sp-text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.spmci-modal-close:hover {
    color: var(--sp-text);
}

.spmci-modal-body {
    padding: 30px;
}

.spmci-modal-body label {
    display: block;
    color: var(--sp-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.spmci-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--sp-glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: all 0.3s;
}

.spmci-input:focus {
    outline: none;
    border-color: var(--sp-orange);
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.1);
}

.spmci-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Notification Toast */
.spmci-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.spmci-notification-content {
    background: linear-gradient(135deg, var(--sp-glass-bg) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 12px;
    border: 1px solid var(--sp-glass-border);
    box-shadow: var(--sp-shadow);
    padding: 16px 24px;
    color: var(--sp-text);
    font-weight: 600;
    min-width: 300px;
}

/* Kit Sub-tabs Navigation */
.spmci-kit-subtabs-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .spmci-kit-subtabs-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.spmci-kit-subtab-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(143, 149, 179, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spmci-kit-subtab-btn i {
    font-size: 2rem;
}

.spmci-kit-subtab-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spmci-kit-subtab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lottie-device {
    width: 48px;
    height: 48px;
}

@media (max-width: 767px) {
    .lottie-device {
        width: 40px;
        height: 40px;
    }

    .spmci-kit-subtab-btn {
        padding: 10px 6px;
        gap: 6px;
    }

    .spmci-kit-subtab-icon {
        width: 40px;
        height: 40px;
    }

    .spmci-kit-subtab-title {
        font-size: 0.75rem;
        line-height: 1.1;
    }

    .spmci-kit-subtab-subtitle {
        display: none;
    }
}

.spmci-kit-subtab-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spmci-kit-subtab-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sp-text);
}

.spmci-kit-subtab-subtitle {
    font-size: 0.75rem;
    color: var(--sp-text-light);
}

.spmci-kit-subtab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.spmci-kit-subtab-btn.active {
    background: rgba(143, 149, 179, 0.15);
    border-color: rgba(143, 149, 179, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(143, 149, 179, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Kit Device Content */
.spmci-kit-device-content {
    display: none;
}

.spmci-kit-device-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Modern App Cards Grid */
.spmci-kit-apps-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.spmci-kit-app-modern-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--sp-glass-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.spmci-kit-app-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(31, 38, 135, 0.2);
}

.spmci-kit-app-modern-header {
    padding: 20px;
    border-top: 4px solid #15bc84;
    position: relative;
}

.spmci-kit-app-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #15bc84;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.3);
}

.spmci-kit-app-modern-header h4 {
    font-size: 1.3rem;
    color: var(--sp-text);
    margin-bottom: 10px;
}

.spmci-kit-app-desc {
    color: var(--sp-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.spmci-kit-app-meta {
    display: flex;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.3);
    border-top: 1px solid var(--sp-glass-border);
    border-bottom: 1px solid var(--sp-glass-border);
}

.spmci-kit-app-price,
.spmci-kit-app-difficulty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sp-text);
}

.spmci-kit-app-price i,
.spmci-kit-app-difficulty i {
    color: #8f95b3;
}

.spmci-kit-app-features {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.spmci-kit-app-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--sp-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.spmci-kit-app-features li i {
    margin-top: 2px;
    font-size: 1rem;
}

.spmci-kit-app-action {
    padding: 20px;
    padding-top: 0;
}

.spmci-kit-app-action .spmci-btn {
    width: 100%;
    justify-content: center;
}

/* Section Description */
.spmci-section-desc {
    color: var(--sp-text-light);
    font-size: 0.95rem;
    margin-top: -15px;
    margin-bottom: 20px;
}

/* Instructions Box */
.spmci-instructions-box {
    margin-top: 30px;
}

.spmci-instructions-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.spmci-instruction-step-modern {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.spmci-step-number-modern {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(21, 188, 132, 0.3);
}

.spmci-step-content-modern {
    flex: 1;
    padding: 8px 0;
}

.spmci-step-content-modern p {
    color: var(--sp-text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Method Badges */
.spmci-method-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 10px;
    background: rgba(150, 150, 150, 0.2);
    color: var(--sp-text-light);
}

.spmci-method-recommended {
    background: rgba(21, 188, 132, 0.2);
    color: var(--sp-green);
}

/* Comparison Grid */
.spmci-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.spmci-comparison-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid var(--sp-glass-border);
    overflow: hidden;
}

.spmci-comparison-winner {
    border: 2px solid var(--sp-green);
}

.spmci-comparison-header {
    padding: 20px;
    color: white;
    text-align: center;
    position: relative;
}

.spmci-comparison-header i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.spmci-comparison-header h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.spmci-comparison-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.spmci-comparison-features {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.spmci-comparison-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--sp-text);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.spmci-comparison-features li:last-child {
    border-bottom: none;
}

.spmci-comparison-features li i {
    font-size: 1.1rem;
}

.spmci-comparison-features li i.fa-check {
    color: var(--sp-green);
}

.spmci-comparison-features li i.fa-times {
    color: var(--sp-danger);
}

/* ========================================
   NOUVELLES CARTES D'APPS - Mobile-first
   ======================================== */

/* Carte individuelle d'application */
.spmci-app-card {
    background: linear-gradient(135deg,
        rgba(143, 149, 179, 0.05) 0%,
        rgba(181, 185, 204, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(143, 149, 179, 0.15);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.spmci-app-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg,
        rgba(143, 149, 179, 0.08) 0%,
        rgba(181, 185, 204, 0.06) 100%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12),
                0 8px 24px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* En-tête de carte */
.spmci-app-card-header {
    padding: 20px;
    position: relative;
}

.spmci-app-header-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.spmci-app-rank {
    font-size: 2.2rem;
    font-weight: 900;
    color: #8f95b3;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.spmci-app-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.5);
}

.spmci-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spmci-app-title-block {
    flex: 1;
    min-width: 0;
}

.spmci-app-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #15bc84;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(21, 188, 132, 0.3);
}

.spmci-app-price-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(143, 149, 179, 0.15);
    color: #8f95b3;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(143, 149, 179, 0.3);
}

.spmci-app-price-badge i {
    font-size: 0.85rem;
}

.spmci-app-card-header h3 {
    font-size: 1.3rem;
    color: var(--sp-text);
    margin: 0 0 4px 0;
    font-weight: 700;
}

.spmci-app-developer {
    font-size: 0.8rem;
    color: var(--sp-text-light);
    margin: 0;
}

.spmci-app-desc {
    color: var(--sp-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Barre de métadonnées - Cachée */
.spmci-app-meta-bar {
    display: none;
}

/* Caractéristiques - Cachées */
.spmci-app-features {
    display: none;
}

/* Actions (boutons) */
.spmci-app-actions {
    padding: 16px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spmci-app-actions .spmci-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
}

.spmci-tv-install-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(21, 188, 132, 0.1);
    border-left: 3px solid #15bc84;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--sp-text);
}

.spmci-tv-install-info i {
    color: #15bc84;
    font-size: 1.2rem;
}

.spmci-toggle-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.spmci-toggle-guide .spmci-chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.spmci-toggle-guide.active .spmci-chevron {
    transform: rotate(180deg);
}

/* Guide d'installation (accordéon) */
.spmci-app-guide {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.025);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

/* Grid pour les deux cartes de guides */
.spmci-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Carte de guide (commune) */
.spmci-guide-card {
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Carte Xtream Codes - Fond clair classique */
.spmci-guide-card-xtream {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.5) 100%);
    border-color: rgba(143, 149, 179, 0.2);
}

.spmci-guide-card-xtream:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Carte M3U - Fond clair classique comme Xtream */
.spmci-guide-card-m3u {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.5) 100%);
    border-color: rgba(143, 149, 179, 0.2);
}

.spmci-guide-card-m3u:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* En-tête de carte de guide */
.spmci-guide-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.spmci-guide-card-header h4 {
    font-size: 1.15rem;
    color: var(--sp-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.spmci-guide-card-xtream .spmci-guide-card-header h4 i {
    color: #15bc84;
}

.spmci-guide-card-m3u .spmci-guide-card-header h4 i {
    color: #8f95b3;
}

/* Old styles kept for backward compatibility */
.spmci-guide-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.spmci-guide-section:last-child {
    border-bottom: none;
}

.spmci-guide-section h4 {
    font-size: 1.1rem;
    color: var(--sp-text);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.spmci-guide-section h4 i {
    color: #8f95b3;
}

.spmci-guide-intro {
    font-size: 0.9rem;
    color: var(--sp-text-light);
    margin: 0 0 20px 0;
}

/* Badges des guides */
.spmci-recommended-badge {
    background: rgba(21, 188, 132, 0.15);
    color: var(--sp-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.spmci-alternative-badge {
    background: rgba(150, 150, 150, 0.15);
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Étapes du guide */
.spmci-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spmci-guide-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.spmci-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(21, 188, 132, 0.3);
}

.spmci-step-text {
    flex: 1;
    padding-top: 4px;
}

.spmci-step-text strong {
    display: block;
    color: var(--sp-text);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.spmci-step-text p {
    color: var(--sp-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

/* Troubleshooting Section */
.spmci-troubleshooting {
    margin-top: 28px;
    padding: 24px;
    background: linear-gradient(135deg,
        rgba(220, 53, 69, 0.08) 0%,
        rgba(255, 193, 7, 0.06) 100%);
    border-left: 4px solid #dc3545;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.spmci-troubleshooting h4 {
    color: #dc3545;
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spmci-troubleshooting h4 i {
    font-size: 1.3rem;
}

.spmci-troubleshooting-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spmci-troubleshooting-list li {
    padding-left: 24px;
    position: relative;
    color: var(--sp-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

.spmci-troubleshooting-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.spmci-troubleshooting-list li strong {
    color: #dc3545;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    /* LARGEUR GLOBALE - GARDER LE BODY POUR LE BACKGROUND PNG */
    body.spmci-account-page {
        padding: 0 !important;
        margin: 0 !important;
        /* NE PAS mettre background transparent, sinon le ::before disparaît */
    }

    /* FORCER TOUS LES CONTENEURS THEME/WOOCOMMERCE A ETRE TRANSPARENTS ET PLEINE LARGEUR */
    /* NOTE: .woocommerce-MyAccount-content RETIRÉ car il contient le background ::before */
    body.woocommerce-account .woocommerce,
    body.woocommerce-account article,
    body.woocommerce-account main,
    body.woocommerce-account #primary,
    body.woocommerce-account #main,
    body.woocommerce-account .site-main,
    body.woocommerce-account .content-area,
    body.woocommerce-account .site-content,
    body.woocommerce-account #content,
    body.woocommerce-account .entry-content,
    body.woocommerce-account .container,
    body.woocommerce-account .wrap,
    body.woocommerce-account #page,
    body.woocommerce-account .site {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .spmci-wrapper {
        padding: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .spmci-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    /* TOUS LES CONTENEURS INTERNES - 90% LARGEUR MAX CENTRÉS */
    .spmci-header,
    .spmci-tabs-nav,
    .spmci-kit-header-box,
    .spmci-section-box,
    .spmci-referral-box,
    .spmci-kit-box,
    .spmci-links-box,
    .spmci-stats-grid,
    .spmci-code-display,
    .spmci-cashout-grid,
    .spmci-portal-urls-grid,
    .spmci-instructions-grid {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Section content et tab content - TRANSPARENTS */
    .spmci-section-content,
    .spmci-tab-content {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* CARROUSEL HORIZONTAL SUR MOBILE - PLEINE LARGEUR */
    .spmci-section-content {
        overflow: visible !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .spmci-servers-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 15px !important;
        width: 100vw !important;
        padding: 0 5vw 15px 5vw !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* UNE SEULE CARTE VISIBLE SUR MOBILE - 90% LARGEUR ÉCRAN */
    .spmci-server-card,
    .spmci-additional-server-card {
        flex: 0 0 90vw !important;
        min-width: 90vw !important;
        max-width: 90vw !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
    }

    /* Header section mobile */
    .spmci-header {
        padding: 10px 16px !important;
        margin-bottom: 10px !important;
    }

    .spmci-header-content {
        gap: 12px;
        flex-direction: row;
        align-items: center;
    }

    .spmci-user-avatar {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .lottie-avatar {
        width: 60px;
        height: 60px;
    }

    .spmci-user-info {
        flex: 1;
    }

    /* Logout button - discret sur mobile */
    .spmci-logout-link {
        font-size: 16px;
        padding: 6px;
        opacity: 0.5;
    }

    .spmci-logout-link:hover {
        opacity: 1;
    }

    /* HARMONISATION GLOBALE DES TITRES */
    .spmci-header h1 {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        font-weight: 600;
    }

    /* Bienvenue - petit et discret - RÉDUIRE PADDING */
    .spmci-header p {
        display: block !important;
        font-size: 0.75rem !important;
        color: #8f95b3;
        font-style: italic;
        margin: 2px 0 0 0 !important;
    }

    /* Tabs navigation - 2x2 grille - TAILLE UNIFORME */
    .spmci-tabs-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .spmci-tab-btn {
        min-width: auto;
        padding: 10px 8px;
        font-size: 0.8rem !important;
        font-weight: 600;
    }

    .spmci-tab-btn i {
        font-size: 1rem !important;
    }

    /* HARMONISATION GLOBALE DES TEXTES ET TITRES */

    /* Tous les titres h2 de section */
    .spmci-section-box h3,
    .spmci-kit-header-box h2 {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }

    /* Tous les textes de corps */
    .spmci-section-box p,
    .spmci-kit-header-box p,
    .spmci-section-desc {
        font-size: 0.75rem !important;
    }

    /* Tous les boutons */
    .spmci-btn {
        font-size: 0.75rem !important;
        padding: 8px 14px !important;
    }

    .spmci-btn i {
        font-size: 0.8rem !important;
    }

    /* Tous les labels */
    label {
        font-size: 0.65rem !important;
    }

    .spmci-stats-grid {
        grid-template-columns: 1fr;
    }

    .spmci-code-display {
        grid-template-columns: 1fr;
    }

    .spmci-cashout-grid {
        grid-template-columns: 1fr;
    }

    .spmci-servers-grid {
        grid-template-columns: 1fr;
    }

    .spmci-kit-apps-grid {
        grid-template-columns: 1fr;
    }

    .spmci-portal-urls-grid {
        grid-template-columns: 1fr;
    }

    .spmci-instructions-grid {
        grid-template-columns: 1fr;
    }

    /* Kit sub-tabs responsive - HARMONISÉS */
    .spmci-kit-subtabs-nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .spmci-kit-apps-modern-grid {
        grid-template-columns: 1fr;
    }

    .spmci-comparison-grid {
        grid-template-columns: 1fr;
    }

    /* ==========================================
       KIT D'INSTALLATION - RÈGLES MOBILES COHÉRENTES
       Taille de référence: 0.9rem (bouton "Voir le guide")
    ========================================== */

    /* Cartes d'applications */
    .spmci-app-card {
        padding: 12px !important;
        margin-bottom: 16px !important;
    }

    .spmci-app-card-header {
        padding: 12px !important;
    }

    .spmci-app-header-top {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    /* Numéros de classement */
    .spmci-app-rank {
        font-size: 1.4rem !important;
        width: 30px !important;
    }

    /* Icônes des apps */
    .spmci-app-icon {
        width: 45px !important;
        height: 45px !important;
    }

    /* Titres des apps */
    .spmci-app-card-header h3 {
        font-size: 0.95rem !important;
        margin-bottom: 2px !important;
    }

    /* Développeur */
    .spmci-app-developer {
        font-size: 0.7rem !important;
    }

    /* Description */
    .spmci-app-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    /* Badges */
    .spmci-app-badge,
    .spmci-app-price-badge {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
        top: 10px !important;
        right: 12px !important;
    }

    /* Actions (boutons) */
    .spmci-app-actions {
        padding: 10px 12px 12px 12px !important;
        gap: 8px !important;
    }

    .spmci-app-actions .spmci-btn {
        font-size: 0.9rem !important;
        padding: 10px 16px !important;
    }

    /* Info TV */
    .spmci-tv-install-info {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        gap: 8px !important;
    }

    .spmci-tv-install-info i {
        font-size: 1rem !important;
    }

    /* Guide d'installation (accordéon) */
    .spmci-app-guide {
        padding: 8px !important;
    }

    /* Cartes de guide (Xtream/M3U) */
    .spmci-guide-card {
        padding: 10px !important;
        margin-bottom: 8px !important;
    }

    .spmci-guide-card-header {
        margin-bottom: 8px !important;
        gap: 6px !important;
    }

    .spmci-guide-card * {
        max-width: 100% !important;
    }

    .spmci-guide-card-header h4 {
        font-size: 0.9rem !important;
        margin: 0 !important;
    }

    .spmci-guide-intro {
        display: none !important;
    }

    .spmci-recommended-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }

    /* Container des étapes */
    .spmci-guide-steps {
        gap: 6px !important;
    }

    /* Étapes numérotées */
    .spmci-guide-step {
        margin-bottom: 8px !important;
        gap: 6px !important;
        padding: 0 !important;
    }

    .spmci-step-num {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.75rem !important;
        flex-shrink: 0 !important;
    }

    .spmci-step-text {
        padding: 0 !important;
        flex: 1 !important;
    }

    /* Titres des étapes */
    .spmci-step-text h4,
    .spmci-step-content h4,
    .spmci-step-content-modern h4 {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        margin: 0 0 3px 0 !important;
        font-weight: 600 !important;
    }

    /* Textes des étapes */
    .spmci-step-text p,
    .spmci-guide-step p,
    .spmci-step-content p,
    .spmci-step-content-modern p {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin: 0 0 2px 0 !important;
    }

    /* Listes dans les étapes */
    .spmci-step-text ul,
    .spmci-step-text ol,
    .spmci-guide-step ul,
    .spmci-guide-step ol {
        margin: 2px 0 !important;
        padding-left: 16px !important;
    }

    .spmci-step-text li,
    .spmci-guide-step li {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        padding: 0 !important;
    }

    .spmci-step-number {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
        margin: 0 auto 4px auto !important;
    }

    .spmci-step-number-modern {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
    }

    .spmci-step-content,
    .spmci-step-content-modern {
        padding: 0 !important;
    }

    .spmci-instruction-step-modern {
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    /* Forcer tous les éléments texte dans les guides */
    .spmci-app-guide p,
    .spmci-app-guide li,
    .spmci-app-guide h4,
    .spmci-app-guide h5 {
        line-height: 1.25 !important;
    }

    .spmci-app-guide strong,
    .spmci-app-guide b {
        font-weight: 600 !important;
    }

    /* Grille des guides */
    .spmci-guides-grid {
        gap: 8px !important;
    }

    /* Supprimer les marges/padding excessifs */
    .spmci-guide-card p,
    .spmci-guide-card li {
        margin: 0 0 2px 0 !important;
        padding: 0 !important;
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
    }

    .spmci-guide-card ul,
    .spmci-guide-card ol {
        margin: 2px 0 !important;
        padding-left: 16px !important;
    }

    .spmci-guide-section {
        padding: 8px !important;
        margin-bottom: 6px !important;
    }

    .spmci-guide-section h4 {
        margin: 0 0 4px 0 !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }

    .spmci-guide-section p {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin: 0 0 2px 0 !important;
    }

    /* Instructions step */
    .spmci-instruction-step {
        margin-bottom: 6px !important;
        padding: 0 !important;
    }

    .spmci-instruction-step h4 {
        font-size: 0.8rem !important;
        margin: 0 0 3px 0 !important;
    }

    .spmci-instruction-step p {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin: 0 0 2px 0 !important;
    }

    .spmci-instructions-steps {
        gap: 6px !important;
    }

    /* Step content */
    .spmci-step-content p:last-child {
        margin-bottom: 0 !important;
    }

    /* ==========================================
       RÈGLES GLOBALES ULTRA-STRICTES POUR LES GUIDES
       Éliminer TOUS les sauts de ligne excessifs
    ========================================== */

    /* Forcer tous les éléments dans les guides */
    .spmci-app-guide * {
        margin-top: 0 !important;
    }

    .spmci-app-guide h1,
    .spmci-app-guide h2,
    .spmci-app-guide h3,
    .spmci-app-guide h4,
    .spmci-app-guide h5,
    .spmci-app-guide h6 {
        margin-bottom: 4px !important;
        padding: 0 !important;
    }

    .spmci-app-guide p {
        margin-bottom: 2px !important;
        padding: 0 !important;
    }

    .spmci-app-guide ul,
    .spmci-app-guide ol {
        margin-bottom: 4px !important;
        padding: 0 0 0 16px !important;
    }

    .spmci-app-guide li {
        margin-bottom: 1px !important;
        padding: 0 !important;
    }

    .spmci-app-guide br {
        display: none !important;
    }

    .spmci-app-guide div {
        margin-bottom: 0 !important;
    }

    /* Forcer spacing entre les étapes uniquement */
    .spmci-guide-step + .spmci-guide-step {
        margin-top: 6px !important;
    }

    .spmci-instruction-step + .spmci-instruction-step {
        margin-top: 6px !important;
    }

    /* ==========================================
       TROUBLESHOOTING / ERREUR - COMPACT
    ========================================== */

    .spmci-troubleshooting {
        margin-top: 8px !important;
        padding: 10px !important;
        border-radius: 8px !important;
    }

    .spmci-troubleshooting h4 {
        font-size: 0.8rem !important;
        margin: 0 0 6px 0 !important;
        gap: 6px !important;
    }

    .spmci-troubleshooting h4 i {
        font-size: 0.9rem !important;
    }

    .spmci-troubleshooting-list {
        gap: 4px !important;
    }

    .spmci-troubleshooting-list li {
        padding-left: 20px !important;
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }

    .spmci-troubleshooting-list li::before {
        font-size: 0.85rem !important;
    }

    .spmci-troubleshooting-list li strong {
        font-weight: 600 !important;
    }

    .spmci-troubleshooting * {
        margin-top: 0 !important;
    }

    .spmci-troubleshooting p {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin: 0 0 2px 0 !important;
    }

    .spmci-kit-subtab-btn {
        padding: 10px 6px;
        gap: 6px;
    }

    .spmci-kit-subtab-btn i {
        font-size: 1rem !important;
    }

    .spmci-kit-subtab-icon {
        width: 32px;
        height: 32px;
    }

    .spmci-kit-subtab-title {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
    }

    .spmci-kit-subtab-subtitle {
        font-size: 0.6rem !important;
    }

    /* Cartes d'applications - HARMONISÉES */
    .spmci-app-card-header h3 {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
    }

    .spmci-app-desc {
        font-size: 0.75rem !important;
    }

    .spmci-app-badge,
    .spmci-app-price-badge {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }

    .spmci-guide-card-header h4 {
        font-size: 0.85rem !important;
    }

    .spmci-guide-step {
        font-size: 0.75rem !important;
    }

    .spmci-step-num {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
    }

    /* Badge prix plus discret sur mobile */
    .spmci-app-price-badge {
        position: static;
        margin-top: 8px;
        margin-left: auto;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .spmci-app-price-badge i {
        font-size: 0.75rem;
    }

    /* Badges guides plus discrets sur mobile */
    .spmci-recommended-badge,
    .spmci-alternative-badge {
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    /* Ranking plus petit sur mobile */
    .spmci-app-rank {
        font-size: 1.8rem;
        width: 32px;
    }

    /* Icône app plus petite sur mobile */
    .spmci-app-icon {
        width: 48px;
        height: 48px;
    }

    /* Section PARRAINAGE - Harmonisation */
    .spmci-code-value {
        font-size: 1.8rem !important;
    }

    .spmci-code-label {
        font-size: 0.7rem !important;
    }

    .spmci-share-info h4 {
        font-size: 0.85rem !important;
    }

    .spmci-share-info li {
        font-size: 0.75rem !important;
    }

    /* Section LIENS - Harmonisation */
    .spmci-portal-name {
        font-size: 0.75rem !important;
    }

    .spmci-portal-url-text {
        font-size: 0.7rem !important;
    }

    /* Smart TV Sub-nav - Harmonisation */
    .spmci-smarttv-subcat-title {
        font-size: 0.75rem !important;
    }

    /* Stats cards */
    .spmci-stat-label {
        font-size: 0.65rem !important;
    }

    .spmci-stat-value {
        font-size: 1.3rem !important;
    }

    /* Cashout cards */
    .spmci-cashout-label {
        font-size: 0.8rem !important;
    }

    .spmci-cashout-cost {
        font-size: 1.2rem !important;
    }

    .spmci-cashout-cost small {
        font-size: 0.65rem !important;
    }

    /* Tables */
    .spmci-table th,
    .spmci-table td {
        font-size: 0.75rem !important;
        padding: 10px !important;
    }
}

/* ===================================================================
   SMART TV SUB-NAVIGATION (Samsung, LG, Sony, Autres)
   =================================================================== */

.spmci-smarttv-subcats {
    width: 100%;
}

.spmci-smarttv-subnav {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.spmci-smarttv-subcat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    width: 120px;
    flex-shrink: 0;
    background: linear-gradient(135deg,
        rgba(31, 41, 55, 0.85) 0%,
        rgba(55, 65, 81, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.spmci-smarttv-subcat-btn:hover {
    background: linear-gradient(135deg,
        rgba(31, 41, 55, 0.9) 0%,
        rgba(55, 65, 81, 0.85) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.spmci-smarttv-subcat-btn.active {
    background: linear-gradient(135deg,
        rgba(21, 188, 132, 0.9) 0%,
        rgba(60, 208, 161, 0.85) 100%);
    border-color: rgba(21, 188, 132, 0.6);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(21, 188, 132, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.spmci-smarttv-subcat-btn i {
    display: none;
}

.spmci-smarttv-subcat-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.spmci-smarttv-subcat-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Thème unique pour tous les boutons Smart TV */

.spmci-smarttv-subcat-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.spmci-smarttv-subcat-content.active {
    display: block;
}

/* Responsive Smart TV Sub-Nav */
@media (max-width: 768px) {
    .spmci-smarttv-subnav {
        flex-direction: row;
        gap: 0.4rem;
        padding: 0.5rem;
        justify-content: center;
    }

    .spmci-smarttv-subcat-btn {
        width: auto;
        flex: 1;
        max-width: 90px;
        justify-content: center;
        padding: 0.5rem 0.3rem;
    }

    .spmci-smarttv-subcat-btn i {
        font-size: 1rem;
    }

    .spmci-smarttv-subcat-title {
        font-size: 0.65rem;
        line-height: 1.1;
    }

    .spmci-smarttv-subcat-subtitle {
        font-size: 0.6rem;
    }
}

/* ===================================================================
   SECTION AIDE & SUPPORT
   =================================================================== */

/* Header Aide */
.spmci-aide-header-box {
    background: linear-gradient(135deg,
        rgba(143, 149, 179, 0.08) 0%,
        rgba(181, 185, 204, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(143, 149, 179, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1.2rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.spmci-aide-header-box h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sp-text);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.lottie-aide-header {
    width: 48px;
    height: 48px;
}

/* Catégories d'aide */
.spmci-aide-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spmci-aide-category {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(143, 149, 179, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.spmci-aide-category-header {
    background: linear-gradient(135deg,
        rgba(21, 188, 132, 0.1) 0%,
        rgba(60, 208, 161, 0.05) 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(143, 149, 179, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spmci-aide-category-header i {
    font-size: 1.5rem;
    color: var(--sp-green);
}

.spmci-aide-category-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
}

/* Questions accordéon */
.spmci-aide-questions {
    padding: 0;
}

.spmci-aide-question {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid rgba(21, 188, 132, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

.spmci-aide-question:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 10px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    border-color: rgba(21, 188, 132, 0.5);
}

.spmci-aide-question:last-child {
    margin-bottom: 0;
}

.spmci-aide-question-btn {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: transparent !important;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

.spmci-aide-question-btn:hover {
    background: rgba(21, 188, 132, 0.1) !important;
}

.spmci-aide-question.active {
    box-shadow: 0 6px 20px rgba(21, 188, 132, 0.3), 0 10px 40px rgba(21, 188, 132, 0.2);
    border-color: rgba(21, 188, 132, 0.6);
}

.spmci-aide-question.active .spmci-aide-question-btn {
    background: rgba(21, 188, 132, 0.15);
}

.spmci-aide-question-btn span {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: normal;
    text-transform: none;
    color: #ffffff !important;
    line-height: 1.5;
}

.spmci-aide-question-btn i {
    font-size: 0.9rem;
    color: var(--sp-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.spmci-aide-question.active .spmci-aide-question-btn i {
    transform: rotate(180deg);
}

.spmci-aide-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.spmci-aide-question.active .spmci-aide-answer {
    max-height: 1000px;
}

.spmci-aide-answer-content {
    padding: 0 1.75rem 1.75rem 1.75rem;
    color: #e5e7eb !important;
    line-height: 1.7;
}

.spmci-aide-answer-content p {
    margin: 0 0 1rem 0;
    color: #e5e7eb !important;
}

.spmci-aide-answer-content strong {
    color: #ffffff !important;
    font-weight: 700;
}

.spmci-aide-answer-content ol,
.spmci-aide-answer-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

.spmci-aide-answer-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #e5e7eb !important;
}

.spmci-aide-answer-content a {
    color: #10b981 !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.spmci-aide-answer-content a:hover {
    color: #34d399 !important;
    text-decoration: underline;
}

/* Warning et Info boxes */
.spmci-aide-warning,
.spmci-aide-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.spmci-aide-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.spmci-aide-warning i {
    color: #ff9800;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.spmci-aide-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.spmci-aide-info i {
    color: #2196f3;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.spmci-aide-warning p,
.spmci-aide-info p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e5e7eb;
}

/* Contact Support Box */
.spmci-aide-contact {
    margin-top: 3rem;
}

.spmci-aide-contact-box {
    background: linear-gradient(135deg,
        rgba(21, 188, 132, 0.1) 0%,
        rgba(60, 208, 161, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(21, 188, 132, 0.3);
    box-shadow: 0 8px 32px rgba(21, 188, 132, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 3rem 2rem;
    text-align: center;
}

.spmci-aide-contact-box i.fa-headset {
    font-size: 3rem;
    color: var(--sp-green);
    margin-bottom: 1rem;
}

.spmci-aide-contact-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0 0 0.5rem 0;
}

.spmci-aide-contact-box > p {
    font-size: 1.1rem;
    color: var(--sp-text-light);
    margin: 0 0 2rem 0;
}

.spmci-aide-contact-box .spmci-btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin: 0 auto;
    display: inline-flex;
}

.spmci-aide-contact-hours {
    margin-top: 1.5rem !important;
    font-size: 0.95rem !important;
    color: var(--sp-text-light) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spmci-aide-contact-hours i {
    color: var(--sp-green);
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Header aide - harmonisé avec actualités */
    .spmci-aide-header-box {
        padding: 0.8rem 1rem 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .spmci-aide-header-box h2 {
        font-size: 0.8rem !important;
        flex-direction: column;
        gap: 0.3rem;
    }

    .lottie-aide-header {
        width: 30px;
        height: 30px;
    }

    .spmci-aide-category-header {
        padding: 1rem 1.2rem;
    }

    .spmci-aide-category-header i {
        font-size: 1rem;
    }

    .spmci-aide-category-header h3 {
        font-size: 0.8rem !important;
    }

    /* Questions boxes - compacts */
    .spmci-aide-question {
        border-radius: 10px;
        margin-bottom: 0.8rem;
    }

    .spmci-aide-question-btn {
        padding: 0.9rem 1rem !important;
    }

    .spmci-aide-question-btn span {
        font-size: 0.75rem !important;
    }

    .spmci-aide-question-btn i {
        font-size: 0.7rem !important;
    }

    .spmci-aide-answer-content {
        padding: 0 1rem 1rem 1rem !important;
        font-size: 0.7rem !important;
    }

    /* Contact box - compact */
    .spmci-aide-contact-box {
        padding: 1.5rem 1.2rem !important;
    }

    .spmci-aide-contact-box i.fa-headset {
        font-size: 1.5rem !important;
    }

    .spmci-aide-contact-box h3 {
        font-size: 0.8rem !important;
    }

    .spmci-aide-contact-box > p {
        font-size: 0.75rem !important;
    }

    .spmci-whatsapp-btn {
        font-size: 0.75rem !important;
        padding: 8px 14px !important;
        width: 100%;
    }

    .spmci-whatsapp-btn i {
        font-size: 0.8rem !important;
    }
}


/* =====================================================
   OVERLAY DE BLOCAGE - SECTIONS RÉSERVÉES AUX CLIENTS
   ===================================================== */

/* Section verrouillée */
.spmci-locked-section {
    position: relative;
    min-height: 500px;
}

/* Masquer le contenu réel quand la section est verrouillée */
.spmci-locked-section > *:not(.spmci-locked-overlay) {
    display: none !important;
}

/* Overlay semi-transparent */
.spmci-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-radius: 20px;
}

/* Contenu de l'overlay */
.spmci-locked-content {
    text-align: center;
    padding: 80px 20px 0 20px;
    max-width: 500px;
    margin: 0 auto;
}

.spmci-locked-content i.fa-lock {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 0.8rem;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.spmci-locked-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.8rem;
}

.spmci-locked-content p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.spmci-locked-content p:last-of-type {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Actions de l'overlay */
.spmci-locked-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0;
}

.spmci-locked-actions .spmci-btn {
    min-width: 280px;
    font-size: 0.95rem !important;
    padding: 0.85rem 1.8rem !important;
    line-height: 1.5 !important;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spmci-locked-actions .spmci-btn-primary {
    background: #1f2937;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.spmci-locked-actions .spmci-btn-primary:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.spmci-locked-actions .spmci-btn-secondary {
    background: #10b981;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.spmci-locked-actions .spmci-btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .spmci-locked-content,
    .spmci-empty-state-content {
        padding: 60px 15px 0 15px;
    }

    .spmci-locked-content i.fa-lock,
    .spmci-empty-state-content i.fa-inbox {
        font-size: 2.8rem;
        margin-bottom: 0.6rem;
    }

    .spmci-locked-content h3,
    .spmci-empty-state-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .spmci-locked-content p,
    .spmci-empty-state-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .spmci-locked-content p:last-of-type,
    .spmci-empty-state-content p:last-of-type {
        font-size: 0.85rem;
        margin-top: 0.8rem;
        margin-bottom: 0;
    }

    .spmci-locked-actions {
        gap: 0.7rem;
    }

    .spmci-locked-actions .spmci-btn {
        min-width: 100%;
        font-size: 0.9rem !important;
        padding: 0.8rem 1.3rem !important;
        line-height: 1.5 !important;
    }
}


/* ============================
   AIDE SECTION STYLES
   ============================ */

/* Aide Questions Container */
.spmci-aide-questions-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

/* Question Box */
.spmci-aide-question {
    background: white;
    border: 2px solid rgba(134, 239, 172, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.spmci-aide-question:hover {
    border-color: rgba(134, 239, 172, 0.4);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.spmci-aide-question.active {
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
}

/* Question Button */
.spmci-aide-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
}

.spmci-aide-question-btn:hover {
    background: rgba(134, 239, 172, 0.05);
}

.spmci-aide-question.active .spmci-aide-question-btn {
    background: rgba(134, 239, 172, 0.08);
    color: #10b981;
}

.spmci-aide-question-btn span {
    flex: 1;
    padding-right: 16px;
}

.spmci-aide-question-btn i {
    font-size: 14px;
    color: #10b981;
    transition: transform 0.3s ease;
}

.spmci-aide-question.active .spmci-aide-question-btn i {
    transform: rotate(180deg);
}

/* Answer */
.spmci-aide-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.spmci-aide-question.active .spmci-aide-answer {
    max-height: 1000px;
}

.spmci-aide-answer-content {
    padding: 0 20px 20px 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.spmci-aide-answer-content p {
    margin: 0 0 12px 0;
}

.spmci-aide-answer-content ul,
.spmci-aide-answer-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.spmci-aide-answer-content li {
    margin-bottom: 8px;
}

.spmci-aide-answer-content strong {
    color: #1f2937;
    font-weight: 600;
}

/* Contact Support Box */
.spmci-aide-contact {
    margin-top: 32px;
}

.spmci-aide-contact-box {
    background: linear-gradient(135deg, rgba(134, 239, 172, 0.08) 0%, rgba(167, 243, 208, 0.05) 100%);
    border: 2px solid rgba(134, 239, 172, 0.3);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}

.spmci-aide-contact-box i.fa-headset {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 16px;
    display: block;
}

.spmci-aide-contact-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.spmci-aide-contact-box > p {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 24px 0;
}

.spmci-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.spmci-whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.spmci-whatsapp-btn i {
    font-size: 20px;
}

/* ============================
   ACTUALITÉS (NEWS) SECTION STYLES
   ============================ */

/* Header */
.spmci-news-header-box {
    text-align: center;
    padding-top: 1.2rem;
    margin-bottom: 2rem;
}

.spmci-news-header-box h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.lottie-news-header {
    width: 50px;
    height: 50px;
}

.spmci-news-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
}

/* Filter buttons */
.spmci-news-filters {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.spmci-news-filter-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spmci-news-filter-btn:hover {
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.spmci-news-filter-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.spmci-news-filter-btn i {
    font-size: 1rem;
}

/* Telegram box */
.spmci-telegram-box {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.25);
    transition: all 0.3s ease;
}

.spmci-telegram-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 136, 204, 0.35);
}

.spmci-telegram-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spmci-telegram-icon i {
    font-size: 2rem;
    color: white;
}

.spmci-telegram-content {
    flex: 1;
}

.spmci-telegram-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.3rem 0;
}

.spmci-telegram-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.spmci-telegram-btn {
    background: white;
    color: #0088cc;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.spmci-telegram-btn:hover {
    background: #f0f9ff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #0088cc;
}

.spmci-telegram-btn i {
    font-size: 1.2rem;
}

/* News grid */
.spmci-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.spmci-news-card {
    background: white;
    border: 2px solid rgba(134, 239, 172, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.spmci-news-card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    transform: translateY(-4px);
}

.spmci-news-card.hidden {
    display: none;
}

/* Card header */
.spmci-news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.spmci-news-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spmci-news-category i {
    font-size: 0.9rem;
}

.spmci-news-date {
    font-size: 0.85rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spmci-news-date i {
    font-size: 0.8rem;
}

/* Card content */
.spmci-news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.spmci-news-content {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.spmci-news-content p {
    margin-bottom: 0.8rem;
}

.spmci-news-content p:last-child {
    margin-bottom: 0;
}

.spmci-news-content ul,
.spmci-news-content ol {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.spmci-news-content li {
    margin-bottom: 0.4rem;
}

.spmci-news-content strong {
    color: #1f2937;
    font-weight: 700;
}

.spmci-news-content a {
    color: #10b981;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.spmci-news-content a:hover {
    color: #059669;
}

/* Empty state */
.spmci-news-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

.spmci-news-empty i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.spmci-news-empty p {
    font-size: 1.1rem;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Header actualités - harmonisé avec aide */
    .spmci-news-header-box {
        padding: 0.8rem 1rem 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .spmci-news-header-box h2 {
        font-size: 0.8rem !important;
        flex-direction: column;
        gap: 0.3rem;
    }

    .lottie-news-header {
        width: 30px;
        height: 30px;
    }

    .spmci-news-subtitle {
        font-size: 0.75rem !important;
    }

    /* Filtres - compacts */
    .spmci-news-filters {
        gap: 0.4rem;
    }

    .spmci-news-filter-btn {
        padding: 8px 12px !important;
        font-size: 0.7rem !important;
    }

    /* Telegram box - TRÈS compact */
    .spmci-telegram-box {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0.8rem !important;
        gap: 0.8rem;
        margin: 1rem 0;
    }

    .spmci-telegram-icon {
        width: 36px;
        height: 36px;
    }

    .spmci-telegram-icon i {
        font-size: 1.1rem;
    }

    .spmci-telegram-content h3 {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
    }

    .spmci-telegram-content p {
        font-size: 0.65rem !important;
        line-height: 1.3;
    }

    .spmci-telegram-btn {
        padding: 8px 12px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0;
        width: auto;
    }

    .spmci-telegram-btn i {
        font-size: 0.8rem !important;
    }

    /* News cards */
    .spmci-news-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .spmci-news-card {
        padding: 1rem;
    }

    .spmci-news-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .spmci-news-title {
        font-size: 0.85rem !important;
    }

    .spmci-news-content {
        font-size: 0.75rem !important;
    }

    .spmci-news-category {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }

    .spmci-news-date {
        font-size: 0.65rem !important;
    }

    /* Promo banner mobile - ULTRA compact pour cohérence avec les 6 tabs */
    .spmci-promo-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 8px 12px !important; /* Très réduit pour mobile */
        gap: 5px !important; /* Minimal gap */
        margin: 10px 0 !important; /* Réduit margin */
        border-radius: 10px !important;
        border-width: 2px !important; /* Réduit border */
    }

    .spmci-promo-icon {
        display: none !important; /* Caché sur mobile - emoji dans le titre */
    }

    .spmci-promo-emoji-mobile {
        display: inline !important; /* Affiché sur mobile */
    }

    .spmci-promo-title {
        font-size: 0.82rem !important; /* Légèrement agrandi */
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .spmci-promo-details {
        font-size: 0.68rem !important; /* Aligné avec news content */
        line-height: 1.3 !important;
    }

    .spmci-promo-details strong {
        font-size: 0.8rem !important; /* Plus petit mais lisible */
    }

    .spmci-promo-deadline {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 2px !important;
        font-size: 0.65rem !important; /* Même taille que news category */
    }

    .spmci-promo-badge {
        display: none !important; /* Caché sur mobile */
    }
}

/* ================================================
   PROMOTIONAL BANNER
   ================================================ */

.spmci-promo-banner {
    background: linear-gradient(135deg, #ff6900 0%, #ffb900 100%);
    border-radius: 16px;
    padding: 20px 30px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(255, 105, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: promo-pulse 2s ease-in-out infinite;
}

@keyframes promo-pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 105, 0, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 105, 0, 0.5);
    }
}

.spmci-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: promo-shine 3s infinite;
}

@keyframes promo-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.spmci-promo-icon {
    font-size: 3rem;
    animation: promo-bounce 1s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes promo-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.spmci-promo-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.spmci-promo-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.spmci-promo-details {
    font-size: 1.05rem;
    color: white;
    line-height: 1.5;
}

.spmci-promo-details strong {
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.spmci-promo-deadline {
    display: inline-block;
    margin-left: 8px;
    font-weight: 600;
    font-style: italic;
}

.spmci-promo-badge {
    background: white;
    color: #ff6900;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* Hide emoji in title on desktop (show only on mobile) */
.spmci-promo-emoji-mobile {
    display: none;
}
