/* Container principal */
#community-promo-box {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 30px auto;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Contenu de la box */
#community-promo-box .community-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Message communauté */
#community-promo-box .community-message {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4096ee 0%, #1e6bb8 100%) !important;
    padding: 14px 24px;
    border-radius: 10px;
    color: white !important;
    font-weight: 600 !important;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(64, 150, 238, 0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
}

#community-promo-box .community-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(64, 150, 238, 0.4);
    color: white !important;
    text-decoration: none !important;
}

#community-promo-box .community-message:visited,
#community-promo-box .community-message:active,
#community-promo-box .community-message:focus {
    color: white !important;
    text-decoration: none !important;
}

#community-promo-box .community-message svg {
    width: 24px;
    height: 24px;
    fill: white;
    flex-shrink: 0;
}

#community-promo-box .community-text {
    line-height: 1.3;
    color: white !important;
}

#community-promo-box .community-text .number {
    font-size: 18px;
    font-weight: 700 !important;
    color: white !important;
}

/* Séparateur vertical */
#community-promo-box .separator {
    width: 2px;
    height: 50px;
    background: #d1d5db;
}

/* Section téléchargement */
#community-promo-box .download-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

#community-promo-box .download-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Boutons d'app */
#community-promo-box .app-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#community-promo-box .app-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f3f4f6 !important;
    border-radius: 10px;
    color: #374151 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

#community-promo-box .app-button:hover {
    background: #e5e7eb !important;
    transform: translateY(-2px);
    border-color: #d1d5db;
    color: #374151 !important;
    text-decoration: none !important;
}

#community-promo-box .app-button:visited,
#community-promo-box .app-button:active,
#community-promo-box .app-button:focus {
    color: #374151 !important;
    text-decoration: none !important;
}

#community-promo-box .app-button svg {
    width: 22px;
    height: 22px;
}

/* Styles spécifiques pour chaque plateforme */
#community-promo-box .app-button.google-play svg path {
    fill: #34A853;
}

#community-promo-box .app-button.app-store svg path {
    fill: #0A84FF;
}

/* Responsive */
@media (max-width: 768px) {
    #community-promo-box {
        padding: 16px;
    }

    #community-promo-box .community-content {
        gap: 20px;
    }

    #community-promo-box .separator {
        display: none;
    }

    #community-promo-box .community-message {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    #community-promo-box .download-section {
        width: 100%;
    }

    #community-promo-box .app-buttons {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    #community-promo-box .community-message {
        font-size: 13px;
        padding: 10px 16px;
    }

    #community-promo-box .community-message svg {
        width: 20px;
        height: 20px;
    }

    #community-promo-box .community-text .number {
        font-size: 16px;
    }

    #community-promo-box .app-button {
        font-size: 13px;
        padding: 10px 16px;
    }

    #community-promo-box .app-button svg {
        width: 20px;
        height: 20px;
    }
}